AlexLavoie42 / Nuxt-Mapbox

Elegant Mapbox integration with Nuxt
81 stars 11 forks source link

The layer `layer-id` does not exist in the map's style and cannot be removed. #47

Closed AlexLavoie42 closed 7 months ago

AlexLavoie42 commented 1 year ago

Happens when layer is unmounted & remounted from v-if or v-for and style is changed. Layer doesn't get reloaded on style change and if the layer is unmounted again this error is thrown.