Norkart / Leaflet-MiniMap

A minimap control plugin for Leaflet
BSD 2-Clause "Simplified" License
395 stars 125 forks source link

Using with other basemaps #71

Closed alexcroox closed 10 years ago

alexcroox commented 10 years ago

I use StamenTileLayer and to use this I init:

baseLayer = new L.StamenTileLayer("toner", {
    ...
});

Which uses the Stamen js, I don't have a normal tile URL. Is it still possible to use the minimap with this type of tile layer?

robpvn commented 10 years ago

It should be fine as long as the StamenTileLayer is a TileLayer object, just put it in the minimap constructor like any other tilelayer.