capacitor-mapbox
v0.0.48
Published
Show a truly native mapbox map.
Downloads
672
Readme
test2
asdf
Install
npm install test2
npx cap sync
API
initMap(...)
resize()
flyTo(...)
addMarker(...)
removeMarker(...)
fitBounds(...)
addSource(...)
addLayer(...)
reset()
hide()
show()
updateMarker(...)
downloadMap(...)
initMap(...)
initMap(options: any) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ---------------- |
| options
| any |
Returns: Promise<{ value: string; }>
resize()
resize() => Promise<void>
flyTo(...)
flyTo(options: any) => Promise<void>
| Param | Type |
| ------------- | ---------------- |
| options
| any |
addMarker(...)
addMarker(marker: any) => Promise<void>
| Param | Type |
| ------------ | ---------------- |
| marker
| any |
removeMarker(...)
removeMarker(marker: any) => Promise<void>
| Param | Type |
| ------------ | ---------------- |
| marker
| any |
fitBounds(...)
fitBounds(marker: any) => Promise<void>
| Param | Type |
| ------------ | ---------------- |
| marker
| any |
addSource(...)
addSource(data: any) => Promise<void>
| Param | Type |
| ---------- | ---------------- |
| data
| any |
addLayer(...)
addLayer(data: any) => Promise<void>
| Param | Type |
| ---------- | ---------------- |
| data
| any |
reset()
reset() => Promise<void>
hide()
hide() => Promise<void>
show()
show() => Promise<void>
updateMarker(...)
updateMarker(marker: any) => Promise<void>
| Param | Type |
| ------------ | ---------------- |
| marker
| any |
downloadMap(...)
downloadMap(data: any) => Promise<void>
| Param | Type |
| ---------- | ---------------- |
| data
| any |