iss api

11 views
Skip to first unread message

gokul s

unread,
Nov 18, 2018, 9:15:58 AM11/18/18
to Django users
hi i want create model that get the longitude and lattitude for International Space Station and plot the longitude and lattitude on map so that we can track the live location on map.i  have wrote function to receive lattitude and longitude but i dont know how to plot it with map.

Ryan Nowakowski

unread,
Nov 18, 2018, 10:25:11 AM11/18/18
to django...@googlegroups.com
The easiest thing is probably to:
1. Render the latitude and longitude in a template as JavaScript variables in a script tag.
2. Use Google maps to show those coordinates via JavaScript.

Joel

unread,
Nov 18, 2018, 11:35:32 AM11/18/18
to django...@googlegroups.com
Isn't this reverse geocoding? I think it's already an example in the official tutorial.

On Sun, 18 Nov, 2018, 7:45 PM gokul s <sgoku...@gmail.com wrote:
hi i want create model that get the longitude and lattitude for International Space Station and plot the longitude and lattitude on map so that we can track the live location on map.i  have wrote function to receive lattitude and longitude but i dont know how to plot it with map.

--
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/6fd2de51-bcca-4778-8d5a-0d22329132cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages