django-leaflet icon indicating copy to clipboard operation
django-leaflet copied to clipboard

TILES doesn't allow using custom layer

Open olethanh opened this issue 12 years ago • 2 comments

The TILES options only allow url but not to use custom Layer defined by plugins (e.g. the Google one from https://github.com/shramov/leaflet-plugins)

olethanh avatar Aug 30 '13 13:08 olethanh

Well if you figure out a simple way to set all this from python settings, we could do it !

So far, a very simple way is to set an empty list in TILES and do this stuff in JS callback / events.

leplatrem avatar Aug 30 '13 13:08 leplatrem

Yep actually had a bug when settings an empty TILES and was going to submit a patch for that but I just saw that you already fixed it (and did five release in the last two weeks since I cloned the project) Kudos on your development speed !

olethanh avatar Aug 30 '13 13:08 olethanh