AlexLavoie42/Nuxt-Mapbox

defineMapboxMarker options?

Closed this issue · 1 comments

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

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