codefordurham / food-inspector

Our health rating restaurant application
http://ncfoodinspector.com/
BSD 3-Clause "New" or "Revised" License
16 stars 11 forks source link

Map does not work when switching to spanish #114

Closed vrocha closed 10 years ago

copelco commented 10 years ago

Just noticed this too

vrocha commented 10 years ago

This pretty weird and possible a bug in geodjango. By switching the language, latitudes and longitudes are separated by a comma instead of a decimal point. Our js breaks it up as 2 values instead of one. coordinates: [-78,898316, 35,995568 ] instead of [-78,898316, 35.995568 ]