Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

django, google maps integration

I'm in need of integrating a django application with a visually intuitive google-maps interface, for the purpose of radio dispatched security guards/emt's.

I'm already using GeoDjango, although it appears it may be a bit overkill for the specific use. At any rate it's already making the geospatial processing on the server as easy as I need it to be.

But my javascript is weak enough without having to build an ajax rpc layer on my own. are there any tools or techniques that can help this?

Edit: To clarify, i'm not asking about how to use google maps api. as this post explains, google gives good documentation, and there are many examples on the web, from google or otherwise, that explains how to use the api, stand-alone. Django has good documentation too.

It's using them together that's slowing me down.

like image 263
SingleNegationElimination Avatar asked Dec 08 '22 08:12

SingleNegationElimination


2 Answers

A bit late, but there is a http://pypi.python.org/pypi/django-easy-maps app that makes Google Maps integration painless for simple cases (displaying a map for an address).

like image 175
Mikhail Korobov Avatar answered Dec 11 '22 08:12

Mikhail Korobov


Google Maps API isn't that hard to learn (+ has good documentation), just try for yourself, there is excellent playground with many examples ready.

As a side note, being web application developer you should already get your hands dirty with javascript (see this really old but not outdated post by James Bennett).

like image 43
zgoda Avatar answered Dec 11 '22 08:12

zgoda