Mathieu Leplatre
Mathieu Leplatre
Yes it is a very good idea! And not very difficult with the leaflet ecosystem. Don't hesitate to give a try and open a pull-request! Thanks!! Le 22 sept. 2015...
Do you mean, it does not end up in the DOM in the adminsite ?
Any error in the console?
Good idea ! Since it can be achieved in pure JS, I guess we don't need to bother with some Django form fields.
Since Leaflet fields are extensible, you can add custom controls and implement the behaviour you like ! Don't hesitate to propose pull-requests, I'll defintely have a look at them !
Thanks for the link :) As I said before, I can't invest much on extra-features, but would definitely review and merge pull-requests!
Could you give us some details about what you are trying to achieve (with a concrete example or some code) ? It looks like it could be done but not...
Thanks for the positive feedback ! I see what you would like to do. We did those things in django-mapentity, using custom leafletwidget javascript classes. https://github.com/makinacorpus/django-mapentity/blob/master/mapentity/static/mapentity/mapentity.forms.js#L68-L117 But it looks like...
Any news to share ? :)
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...