Prateek,
Have you tried this module? http://django-map-widgets.readthedocs.io/en/latest/
Thanks
Himanshu
Sent from Mail for Windows 10
From: prateek gupta
Sent: Thursday, June 21, 2018 10:32 AM
To: Django users
Subject: Re: How to fill latitude and longitude values from an existinglocation
field in Django+Python?
I am using Django 2.0.6 and yes I am able to use this package .
This package is currently showing a map below the address and once I enter the
address; it fill the location field and changes the map according.
On Thursday, June 21, 2018 at 7:41:22 PM UTC+5:30, Matthew Pava wrote:
Based on the information of that project, it does not support Django passed
version 1.10. What version are you using?
Saving of the location should be automatic based on my understanding of that
package.
You may want to contact the author of that package to get more help.
From: django...@googlegroups.com [mailto:django...@googlegroups.com] On Behalf
Of prateek gupta
Sent: Thursday, June 21, 2018 8:54 AM
To: Django users
Subject: Re: How to fill latitude and longitude values from an existing
location field in Django+Python?
Thanks for your reply.
I was trying to first use in built django library for that
https://github.com/caioariede/django-location-field
It is showing me a map with location field(conaining latitude,longitude)
But I want to save the latitude/longitude values in DB so I am not seeing any
way in this inbuild library.
Now I will try Google API.
On Thursday, June 21, 2018 at 6:04:32 PM UTC+5:30, Julio Biason wrote:
Hi Prateek.
You're using Google Maps for the lat/long, right?
In this case, I'd suggest that, on the function you receive the data and update
the field, you also make a request to some URL to update the lat/long of the
current displayed object.
On Thu, Jun 21, 2018 at 9:29 AM, prateek gupta wrote:
Got it Jason, I will not post anymore now.
On Thursday, June 21, 2018 at 5:31:13 PM UTC+5:30, Jason wrote:
You've been posting here about this regularly (at least four times) with no
responses. I don't think anyone here knows how to solve your problem. what
else have you looked at? eg, have you asked on stack overflow or other places?
--
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...@googlegroups.com.
To post to this group, send email to django...@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/2c6cc9f6-1455-439c-ad78-459fcc1828ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Julio Biason, Sofware Engineer
AZION | Deliver. Accelerate. Protect.
Office: +55 51 3083 8101 | Mobile: +55 51 99907 0554
--
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...@googlegroups.com.
To post to this group, send email to djang...@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/b4c346b2-1032-485e-8b96-d1131dcfcc06%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+unsubscr...@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/fd219fe9-892c-4061-930b-6e8b22849b32%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+unsubscr...@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/5b2becce.1c69fb81.d902c.0953%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.