@stadiamaps/ferrostar-webcomponents 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ferrostar_bg.wasm +0 -0
- package/dist/{ferrostar-core.d.ts → ferrostar-map.d.ts} +10 -7
- package/dist/ferrostar-map.d.ts.map +1 -0
- package/dist/ferrostar-webcomponents.js +347 -330
- package/dist/ferrostar-webcomponents.js.map +1 -1
- package/dist/ferrostar-webcomponents.umd.cjs +16 -12
- package/dist/ferrostar-webcomponents.umd.cjs.map +1 -1
- package/dist/main.d.ts +3 -3
- package/dist/main.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/ferrostar-core.d.ts.map +0 -1
|
Binary file
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { default as maplibregl } from 'maplibre-gl';
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { default as maplibregl, LngLatLike } from 'maplibre-gl';
|
|
3
3
|
import { MapLibreSearchControl } from '@stadiamaps/maplibre-search-box';
|
|
4
4
|
import { NavigationController, RouteAdapter } from '@stadiamaps/ferrostar';
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class FerrostarMap extends LitElement {
|
|
6
6
|
valhallaEndpointUrl: string;
|
|
7
7
|
styleUrl: string;
|
|
8
8
|
profile: string;
|
|
9
|
+
center: LngLatLike | null;
|
|
10
|
+
pitch: number;
|
|
11
|
+
zoom: number;
|
|
9
12
|
httpClient?: Function;
|
|
10
13
|
locationProvider: any;
|
|
11
|
-
costingOptions:
|
|
12
|
-
|
|
14
|
+
costingOptions: object;
|
|
15
|
+
protected _tripState: any;
|
|
13
16
|
useIntegratedSearchBox: boolean;
|
|
14
17
|
useVoiceGuidance: boolean;
|
|
15
18
|
routeAdapter: RouteAdapter | null;
|
|
@@ -20,7 +23,7 @@ export declare class FerrostarCore extends LitElement {
|
|
|
20
23
|
lastSpokenInstructionText: string | null;
|
|
21
24
|
static styles: import('lit').CSSResult[];
|
|
22
25
|
constructor();
|
|
23
|
-
updated(changedProperties:
|
|
26
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
24
27
|
firstUpdated(): void;
|
|
25
28
|
getRoutes(initialLocation: any, waypoints: any): Promise<any>;
|
|
26
29
|
startNavigation(route: any, config: any): void;
|
|
@@ -30,4 +33,4 @@ export declare class FerrostarCore extends LitElement {
|
|
|
30
33
|
private clearMap;
|
|
31
34
|
render(): import('lit-html').TemplateResult<1>;
|
|
32
35
|
}
|
|
33
|
-
//# sourceMappingURL=ferrostar-
|
|
36
|
+
//# sourceMappingURL=ferrostar-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ferrostar-map.d.ts","sourceRoot":"","sources":["../src/ferrostar-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,cAAc,EAAY,MAAM,KAAK,CAAC;AAErE,OAAO,UAAU,EAAE,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AAEnD,OAAO,EAAC,qBAAqB,EAAC,MAAM,iCAAiC,CAAC;AAGtE,OAAa,EAAC,oBAAoB,EAAE,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAC/E,OAAO,qBAAqB,CAAC;AAC7B,OAAO,gBAAgB,CAAC;AAIxB,qBACa,YAAa,SAAQ,UAAU;IAE1C,mBAAmB,EAAE,MAAM,CAAM;IAGjC,QAAQ,EAAE,MAAM,CAAM;IAGtB,OAAO,EAAE,MAAM,CAAM;IAGrB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAQ;IAGjC,KAAK,EAAE,MAAM,CAAM;IAGnB,IAAI,EAAE,MAAM,CAAK;IAGjB,UAAU,CAAC,EAAE,QAAQ,CAAS;IAI9B,gBAAgB,EAAG,GAAG,CAAC;IAIvB,cAAc,EAAE,MAAM,CAAM;IAI5B,SAAS,CAAC,UAAU,EAAE,GAAG,CAAQ;IAGjC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