screwgoth / live-location-tracker

May 2018 Python Pune Hackathon project : Live Location Tracking using Mobile GPS Logger
31 stars 10 forks source link

Convert lat and long to GeoJson equivalent point and create Get API to return it #17

Open chetanzope opened 6 years ago

chetanzope commented 6 years ago

We have take lat and long and other parameters from the GPSLogger App. Now our goal is to show that lat & long in Map. So we will create get API that returns the batch of lat & long with auth token. So the user can able to see the path on the map.

chetanzope commented 6 years ago

To show this lat, long on the map, we must convert it to geoJson format. for example, the syntax of it is { "type": "Feature", "properties": { "name": "Coors Field", "amenity": "Baseball Stadium", "popupContent": "This is where the Rockies play!" }, "geometry": { "type": "Point", "coordinates": [-104.99404, 39.75621] } };