Lamhot / php-google-map-api

Automatically exported from code.google.com/p/php-google-map-api
0 stars 0 forks source link

Problems with Locales which use comma for a decimal separator #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Display a multi-point map when the locale is nl_NL
2. zoom so that all markers are in the viewport
3.

What is the expected output? What do you see instead?
The javascript function call to google.maps.LatLng(minlat, minlon) should have 
just two parameters, lat and long in decimal notation
Instead we get four parameters because the lat and long are represented 
nnn,ddd, www,ddd instead of nnn.ddd, www.ddd 

What version of the product are you using? On what operating system?
3.0beta

When outputting floating point numbers as Java parameters the decimal separator 
must be a decimal point not a comma.

Please provide any additional information below.

Original issue reported on code.google.com by stephen....@gmail.com on 15 Feb 2011 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by b...@mycnl.com on 25 Sep 2011 at 6:12