mapbox-gl-vue
Advanced tools
Comparing version 1.8.0 to 1.8.1
{ | ||
"name": "mapbox-gl-vue", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "A Vue.js component for Mapbox GL js", | ||
@@ -5,0 +5,0 @@ "main": "dist/Mapbox.js", |
@@ -5,3 +5,3 @@ [![npm](https://img.shields.io/npm/dw/localeval.svg)](https://www.npmjs.com/package/mapbox-gl-vue) | ||
A Vue.js Mapbox component. | ||
A Vue.js Mapbox component. | ||
@@ -53,3 +53,3 @@ ## Installation | ||
components: { Mapbox }, | ||
]); | ||
}); | ||
``` | ||
@@ -80,4 +80,4 @@ In your HTML file: | ||
`access-token` | ||
Type: `String` | ||
`access-token` | ||
Type: `String` | ||
Required: `True` | ||
@@ -89,4 +89,4 @@ | ||
`map-options` | ||
Type: `Object` | ||
`map-options` | ||
Type: `Object` | ||
Required: `True` | ||
@@ -100,5 +100,5 @@ | ||
`nav-control` | ||
Type: `Object` | ||
Required: `False` | ||
`nav-control` | ||
Type: `Object` | ||
Required: `False` | ||
Default: ```{ | ||
@@ -113,5 +113,5 @@ show: true, | ||
`geolocate-control` | ||
Type: `Object` | ||
Required: `False` | ||
`geolocate-control` | ||
Type: `Object` | ||
Required: `False` | ||
Default: ```{ | ||
@@ -127,5 +127,5 @@ show: false, | ||
`scale-control` | ||
Type: `Object` | ||
Required: `False` | ||
`scale-control` | ||
Type: `Object` | ||
Required: `False` | ||
Default: ```{ | ||
@@ -141,5 +141,5 @@ show: false, | ||
`fullscreen-control` | ||
Type: `Object` | ||
Required: `False` | ||
`fullscreen-control` | ||
Type: `Object` | ||
Required: `False` | ||
Default: ```{ | ||
@@ -155,3 +155,3 @@ show: false, | ||
```vue | ||
<mapbox | ||
<mapbox | ||
access-token="your access token" | ||
@@ -164,3 +164,3 @@ :map-options="{ | ||
:geolocate-control="{ | ||
show: true, | ||
show: true, | ||
position: 'top-left' | ||
@@ -187,3 +187,3 @@ }" | ||
Example: | ||
Example: | ||
@@ -253,3 +253,3 @@ HTML File: | ||
} | ||
]); | ||
}); | ||
``` | ||
@@ -274,3 +274,3 @@ | ||
:geolocate-control="{ | ||
show: true, | ||
show: true, | ||
position: 'top-left' | ||
@@ -302,3 +302,3 @@ }" | ||
} | ||
]); | ||
}); | ||
``` | ||
@@ -305,0 +305,0 @@ |
217438