schlunsen / nuxt-leaflet

Nuxt module for leafletjs - https://schlunsen.github.io/nuxt-leaflet/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to apply different map styles

opened this issue · comments

i would like to change the map layout (color etc) on overall layout changes, i did found this resource:
https://leaflet-extras.github.io/leaflet-providers/preview/
but i have no idea how to implement it with nuxt-leaflet.
Help is appreciated. Thanks

I would think you could do so by changing

  <l-tile-layer url="http://{s}.tile.osm.org/{z}/{x}/{y}.png"></l-tile-layer>