There seems to be a dearth of examples illustrating best practices in deploying Google Maps with Django.
Common recommendations are to use GeoDjango. Of course, it doesn't have to be Google Maps. It could be OpenSteetMap, Yahoo Maps, or some other mapping API. Not necessarily related, there are also suggestions to use JQuery to handle AJAX requests. I'm trying to understand how to take the next step -- to make the required GXmlHttp GET requests calling a Django view that returns marker points, while not violating the RESTful nature of Django URLs. What would be the recommendation? To help the discussion along with an example, this might be the implementation of a pure AJAX solution returning XML with a Get request to a PHP page: var request = GXmlHttp.create(); request.open('GET','query.php?var1=' + val1 + '&var2=' + val1, true); request.onreadystatechange = function() { if (request.readyState == 4) { if (request.status == 200) { var xmlsource = request.responseXML; var markers = xmlsource.documentElement.getElementsByTagName ("marker"); for (var i = 0; i < markers.length; i++) { var lat = parseFloat(markers[i].getAttribute("lat")); var lng = parseFloat(markers[i].getAttribute("lng")); var latlng = new GLatLng(lat,lng); -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.