Also: just came across this mapping example, using Leaflet, and a
standards-based approach (POST via WFS) to write point data from the map to
a database:
http://blog.georepublic.info/2012/leaflet-example-with-wfs-t/
https://github.com/Georepublic/leaflet-wfs/blob/master/index.html#L201
(POST c
Your question seems to be more about using javascript with Django; have a
look at this Q&A:
http://stackoverflow.com/questions/5735107/basic-django-and-javascript-question
There is also a lonk to a downloadable sample app.
The "getting the values from the map via javascript" is a different kind o
Vermon D. Cole,How to get the latitude and longitude from javascript(using
javascript map) and save it to database in Django.If marker is placed in
any place,it will show/display the longitude and latitude value,need to get
that and save in in db.Hope this clear.
Thanks
On Tuesday, June 4, 2
Saving the values is the easy part. The format you use depends on what you
want to do with them. If you are only displaying them to users, CharField
might be okay. If you are going to do any processing, you should probably
convert them. My storage is done like this:
gpsLatitude = model
Can i get any post or example related to this.
Thanks
On Tuesday, June 4, 2013 6:38:05 PM UTC+5:30, Doug S wrote:
>
> I think you'd at least want to use either a DecimalField or FloatField for
> the lat & long numbers.
> There's a nice GIS package in django called GeoDjango, it has lots of
> b
I think you'd at least want to use either a DecimalField or FloatField for
the lat & long numbers.
There's a nice GIS package in django called GeoDjango, it has lots of built
in functionality for all kinds of geographical things.
This may be over kill for your application but I thought I'd let you
6 matches
Mail list logo