Closed simonbromberg closed 11 years ago
Change the array into a dictionary with the keys "latitude" and "longitude"
For example, right now the Molson Amp. returns the coordinates:
coordinates = ( "-79.415054", "43.629188" );
However, if you copy and paste -79.415054,43.629188 into Google maps you get some place near Antarctica.
Easiest fix is to reverse, but for consistency with the way @stevenheidel's been doing it probably best to do it as a dictionary like this:
"latitude": 43.670906, "longitude": -79.393331
Sorry I didn't notice it before.
@simonbromberg - let me know when you want me to deploy this to staging
Did you update the api documentation? Still looks like an array. @stevenheidel
Updated API, deployed to staging.
Change the array into a dictionary with the keys "latitude" and "longitude"
For example, right now the Molson Amp. returns the coordinates:
However, if you copy and paste -79.415054,43.629188 into Google maps you get some place near Antarctica.
Easiest fix is to reverse, but for consistency with the way @stevenheidel's been doing it probably best to do it as a dictionary like this:
"latitude": 43.670906, "longitude": -79.393331
Sorry I didn't notice it before.