AlexLavoie42 / Nuxt-Mapbox

Elegant Mapbox integration with Nuxt
81 stars 11 forks source link

defineMapboxMarker options? #56

Closed 0PandaDEV closed 1 year ago

0PandaDEV commented 1 year ago
const marker = defineMapboxMarker("1", {}, "templateRef", (marker) => {
  marker.setLngLat([0, 0]);
});

What do I have to put in the "options" parameter, where is the documentation for all of this because the docs in the README are not very helpful

AlexLavoie42 commented 1 year ago

See the Mapbox GL-JS docs. There is also full ts autocomplete for all props.