Closed runshotgun closed 5 years ago
I'm trying to update the visibility of a MglGeojsonLayer with a v-if and if the map is loading tiles, the value is not listened properly.
MglGeojsonLayer
v-if
If set to true, the layer shows regardless If set to false, the layer remains visible and will remain that way until I manually toggle it again.
true
false
I believe this issue is related to the other Vue Mapbox component here: https://github.com/soal/vue-mapbox
I'm trying to update the visibility of a
MglGeojsonLayer
with av-if
and if the map is loading tiles, the value is not listened properly.If set to
true
, the layer shows regardless If set tofalse
, the layer remains visible and will remain that way until I manually toggle it again.