Re: map in django

2012-07-11 Thread j_syk
This Gist https://gist.github.com/1027898 is an example of a location Model which calls on a helper function when saved to find the lat & long of the address when it is saved. The original snippet of the function is here- http://djangosnippets.org/snippets/2399/ On Wednesday, July 11, 2012 2:

Re: map in django

2012-07-11 Thread Satvir Toor
On Wed, Jul 4, 2012 at 9:23 PM, yak-man wrote: > You might try browsing these: > The code from Zain's US PyCon2012 tutorial on making interaxtive maps is also > in his github repositories - you might find that interesting. What is link for that??? -- Satvir Kaur satveerkaur.blogspot.in -- Yo

Re: map in django

2012-07-05 Thread Timothy Makobu
The link I gave you does exactly that. You give GMaps an address and it gives you JSON (or XML) of many things, among them longitude and latitude. You can then use maybe http://gmap3.net/ to display the location on the map. The ajax that will glue all that together into one page is the homework.

Re: map in django

2012-07-05 Thread Satvir Toor
I followed below link http://pypi.python.org/pypi/django-google-maps/ it works fine in admin interface, But I want to display a map using django templates. I wish for a output like No. of text fields and a address field, the map would display the location on itself according to value entered into a

Re: map in django

2012-07-05 Thread Timothy Makobu
http://stackoverflow.com/questions/3652951/google-maps-api-get-coordinates-of-address On Thu, Jul 5, 2012 at 10:24 AM, Satvir Toor wrote: > On Thu, Jul 5, 2012 at 12:38 PM, Timothy Makobu > wrote: > > Something like this? http://timslab.net/tornodes/ > can say. > > > > Questions; how do you GET

Re: map in django

2012-07-05 Thread Satvir Toor
On Thu, Jul 5, 2012 at 12:38 PM, Timothy Makobu wrote: > Something like this? http://timslab.net/tornodes/ can say. > > Questions; how do you GET the location? Is it a constant location, or does > it depend on something? What is at that location, that makes you want to > save it? Once we know why

Re: map in django

2012-07-05 Thread Timothy Makobu
Something like this? http://timslab.net/tornodes/ Questions; how do you GET the location? Is it a constant location, or does it depend on something? What is at that location, that makes you want to save it? Once we know why and how you get a location, we can help you better. On Thu, Jul 5, 2012

Re: map in django

2012-07-04 Thread yarko
On Wednesday, July 4, 2012 10:53:41 AM UTC-5, yarko wrote: > > You might try browsing these: > > http://pyvideo.org/search?models=videos.video&q=making+maps > > > Apologies - Swype caused more than one typo: > http://inzane.net > => http://inzain.net > The code from Zain

Re: map in django

2012-07-04 Thread yak-man
You might try browsing these: http://pyvideo.org/search?models=videos.video&q=making+maps http://inzane.net The code from Zain's US PyCon2012 tutorial on making interaxtive maps is also in his github repositories - you might find that interesting. Have lots of fun! -Yarko -- You received th

Re: map in django

2012-07-04 Thread kenneth gonsalves
On Wed, 2012-07-04 at 17:38 +0530, Satvir Toor wrote: > Hello!!! Everyone > I am new to maps in django.I want to display map in django application > and to capture the latitude and longitude for that location and to > save in database. Please give me reference. http://duckduckgo.co

map in django

2012-07-04 Thread Satvir Toor
Hello!!! Everyone I am new to maps in django.I want to display map in django application and to capture the latitude and longitude for that location and to save in database. Please give me reference. -- Satvir Kaur satveerkaur.blogspot.in -- You received this message because you are