Open chetanzope opened 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] } };
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.