1
Vote

Windows country settings affect notation of latitude and longitude

description

Hi,
 
I was trying to run the sample (SearchAdressMap) you guys provided me with as a sample.
However, when clicking the treenode, I got weird results. I've managed to pinpoint the problem.
 
Please check out this screenshot to see the problem.
http://i56.tinypic.com/24fzchu.png
 
Because of my windows country settings (I live in belgium, and my language settings are set to Belgian (Period) ), real numbers are written with a comma, not a point.
Because of this, property map.center is not set right.
 
I've managed to work around this problem with the code that I commented out.
 
Maybe you could update the code so that it ALWAYS writes those real numbers with a point, and it doesn't affect people with different country settings?
 
Greetings!
 
Parmpje

file attachments

comments

stonyuk wrote Mar 15, 2012 at 8:07 PM

wrote Feb 22, 2013 at 12:36 AM