-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Twitter api defines coordinate as being:
"coordinates": { "coordinates": [-75.14310264, 40.05701649], "type":"Point"}
with longitude first, then latitude
But in the server.js file we take the latitude first
var outputPoint = {"lat": data.coordinates.coordinates[0],"lng": data.coordinates.coordinates[1]};
It is kind of self corrected when we pass the coordinates back to google maps where there is a second reverse :
var tweetLocation = new google.maps.LatLng(data.lng,data.lat);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels