You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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);
The text was updated successfully, but these errors were encountered:
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);
The text was updated successfully, but these errors were encountered: