Active
Project:
Timelinemap
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2011 at 01:49 UTC
Updated:
24 Sep 2011 at 01:49 UTC
Working with this lat/lon pair which the location module's geocoder generates from "1600 Pennsylvania Avenue"--
lat 38.897678 / 38° 53' 51.6408" N
long -77.036517 / 38° 53' 51.6408" N / 77° 2' 11.4612" W
correct in Google, I end up with a map marker at some location in Nepal, and not the White House. That's because the longitude should be negative. So I changed line 61 of timelinemap.js from:
"lon" : u.longitude
to
"lon" : '-' + u.longitude
That's just... Wrong, but it does result in a map that's at least close (see next issue) to the Washington DC.