leaflet-extras / leaflet-providers

An extension to Leaflet that contains configurations for various free tile providers.
https://leaflet-extras.github.io/leaflet-providers/preview/
BSD 2-Clause "Simplified" License
2.11k stars 662 forks source link

Minimap not displayed #509

Closed Lucas-dev-974 closed 1 year ago

Lucas-dev-974 commented 1 year ago

Hello, I would like to add one minimap to my leaflet map but when i do like in the readme documentation, the minimap doesnt appear on my page and when i search for class that contain the minimap i also dont find it in the DOM and don't know why... If someone can help me please ? the code i use is

L.tileLayer.provider("Stamen.Watercolor").addTo(getLeafletMap());

Techo: Solidjs

brunob commented 1 year ago

like in the readme documentation,

What readme are you mentioning ?

Could you provide a link to a public page showing the bug ?

Lucas-dev-974 commented 1 year ago

Désolé mais je me suis trompé je pensais que le fournisseur de service offrait la possibilité d'inclure des minimaps comme dans la démo, mais non. Finalement j'ai regardé le code et j'ai vu que du code était dédié à cette inclusion de minimap.