proximiio-js-library 1.9.6 → 1.9.7
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/README.md +7 -0
- package/assets/wayfinding.js +304 -304
- package/lib/components/map/main.d.ts +24 -4
- package/lib/components/map/main.js +124 -47
- package/lib/components/map/routing.js +1 -0
- package/lib/components/map/sources/geojson_source.js +3 -1
- package/lib/proximiio.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -168,6 +168,13 @@ const map = new Proximiio.Map({
|
|
|
168
168
|
defaultPlace: string, // optional, default: 'defaultPlace', library will search for the place by it's id or title defined within provided param
|
|
169
169
|
},
|
|
170
170
|
useGpsLocation: false, // optional, default: false, if enabled your location will be detected with geolocation API and used as a starting point for routing
|
|
171
|
+
geolocationControlOptions: {
|
|
172
|
+
autoTrigger: boolean, // optional, default: true, if enabled map will automatically enable geolocation
|
|
173
|
+
autoLocate: boolean, // optional, default: true, if enabled map will automatically focus on user location
|
|
174
|
+
position: string, // optional, default: 'top-right', position on the map to which the control will be added. Valid values are 'top-left' , 'top-right' , 'bottom-left' , and 'bottom-right'
|
|
175
|
+
},
|
|
176
|
+
language: 'en', // optional, set default map language for poi features
|
|
177
|
+
routeColor: '#000000', // optional, define route line color
|
|
171
178
|
});
|
|
172
179
|
```
|
|
173
180
|
|