makinacorpus / django-leaflet

Use Leaflet in your Django projects
GNU Lesser General Public License v3.0
710 stars 281 forks source link

TILES doesn't allow using custom layer #29

Open olethanh opened 11 years ago

olethanh commented 11 years ago

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)

leplatrem commented 11 years ago

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.

olethanh commented 11 years ago

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 !