Saturday, July 2, 2016

Re: GeoDjango and Google Maps

  Hello,
 Django Geo API  does not have  MapWidget. And this error is expected. 
 List of supported widget is place here : https://docs.djangoproject.com/ja/1.9/ref/contrib/gis/forms-api/
One of the simplest way of the adding map to the page is using leaflet library which is nice supported.  
 I'm using next code  for adding maps to the pages GeoDjango + leaflet 
 
      {%   leaflet_map "map" callback="window.map_init"  fitextent=True  creatediv=True  %}

 + some js  code. 

Many thanks,

Serge


+380 636150445
skype: skhohlov

On Fri, Jul 1, 2016 at 1:49 PM, Dennis <goldline.denis@gmail.com> wrote:
Hello, friends!
Thanks A LOT !!!!!!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/486a2d4b-6226-43d6-aeed-6a1ecaedc54c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADTRxJOOZ5v5RS%2BK%2BZuaOJ5k3x8Y%3Dhj9Omq42ovgfuUJXB_wBQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment