fjlopezs / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Fusion Tables import uses locale-sensitive formatter for the URL #324

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SendToFusionTables#getMapVisualizationUrl uses String#format to format the URL. 
 The URL includes geographic coordinates (latitude and longitude), both of 
which are decimal numbers.  String#format formats decimal numbers in a 
locale-aware way.  As such, users in locales which use commas to separate the 
whole number from the fraction end up with 1.23 formatted as 1,23.  This 
confuses Fusion Tables.

We need to use a locale-insensitive formatter (or format it with locale = US).

Original issue reported on code.google.com by simmonmt@google.com on 14 Feb 2011 at 7:46

GoogleCodeExporter commented 9 years ago
I have a fix for this issue in simmonmt-staging5

Original comment by simmonmt@google.com on 15 Feb 2011 at 12:22

GoogleCodeExporter commented 9 years ago
Issue 317 has been merged into this issue.

Original comment by simmonmt@google.com on 15 Feb 2011 at 12:36

GoogleCodeExporter commented 9 years ago

Original comment by simmonmt@google.com on 16 Feb 2011 at 4:36