makinacorpus / django-leaflet

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

Touch #97

Open ouhouhsami opened 9 years ago

ouhouhsami commented 9 years ago

Hi,

I just made a very dirty patch https://github.com/ouhouhsami/django-leaflet to integrate touch support from https://github.com/Leaflet/Leaflet.draw/pull/285 (PR which has not been merged yet)

Could be great to be able to externalize javascript leaftlet code in django-leaflet, or, at least, being able to reference custom build of leaflet and leaflet.draw.

Cheers

leplatrem commented 9 years ago

Holà Samuel ! Thanks for your feedback :) Feel free to contribute what you have in mind through a pull request! We'll discuss it with some code :)

Otherwise... I'm wondering: can't you do it by overriding the static files with the same folder/name in your project ? How other django apps do ?

ouhouhsami commented 9 years ago

Totally. You are right. Forgot about that. Thx.