Re: GeoDjango and Google Maps

2016-07-02 Thread Sergiy Khohlov
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 usi

GeoDjango and Google Maps

2016-07-01 Thread Dennis
Hello, friends! Please, help with the issue - http://stackoverflow.com/questions/38140407/how-to-hook-up-google-maps-to-geodjango 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 recei

Re: Help with GeoDjango and Google Maps, please...

2008-11-21 Thread Ariel Mauricio Nunez Gomez
ChrisK, I use: * from django.contrib.gis.geos import fromstr gpoly=GPolygon(fromstr(poly.wkt, srid=4326))* --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to d

Re: Help with GeoDjango and Google Maps, please...

2008-11-21 Thread ChrisK
Well, this is interesting. The problem seems to be that GPolygon calls self.latlng_from_coords(poly.shell.coords) to unpack the coordinates. I handed in 2D points for the shell coordinates, but somewhere along the line, a third coordinate of "almost zero" in floating point was added to every po

Help with GeoDjango and Google Maps, please...

2008-11-20 Thread ChrisK
I'm struggling to get django.contrib.gis.maps.google.gmap to do something interesting. I have looked at the embedded examples, and as far as they go, they're great. I would really like to display a polygon using GPolygon, and for the life of me can't figure out the right syntax to get the first ar