VMarker
Marker
Control.
<v-marker
:center="center"
:options="options"
/>
Examples
With Marker In Map
With Chart In Marker
Insert a Pie Chart instead by default icon.
property
property | required | type | description |
---|---|---|---|
center | true | number[] | Marker's lngLat, using v-model:center for auto updating center. |
options | false | object | Marker's options |
for more details you can access to mapbox website, go to
event
event | description |
---|---|
click | Marker click event |
mouseenter | Marker mouseenter event |
mousemove | Marker mousemove event |
mouseleave | Marker mouseleave event |
update:center | emit update:center event in using v-model:center prop. |