razorness / vue-maplibre-gl

Vue 3 plugin for maplibre-gl-js
86 stars 19 forks source link

Usage & component docs? #91

Open douglasg14b opened 8 months ago

douglasg14b commented 8 months ago

Title says it!

This seems like it would be handy to drop in, but having to dig through the source to figure out how to use it is becoming a bit frustrating 😅

douglasg14b commented 8 months ago

Right now, trying to figure out how to set the default style, without a mgl-style-switch-control. If I set it via map.map.setStyle() then vector sources and geoJson sources stop rendering....

Edit: map-style prop on mgl-map. Though I'm kinda curious why source stop rendering if I set it directly?