Ignore:
Timestamp:
2008-02-07T00:18:09+01:00 (17 years ago)
Author:
gabriel
Message:

wmsplugin: Fix coordinate formatting under locales that have a decimal comma.
Patch by Bernd Raichle <bernd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSGrabber.java

    r6777 r6788  
    77import java.net.URL;
    88import java.text.DecimalFormat;
     9import java.text.DecimalFormatSymbols;
    910import java.text.NumberFormat;
     11import java.util.Locale;
    1012
    1113import javax.imageio.ImageIO;
     
    4648
    4749        public static final NumberFormat
    48                 latLonFormat = new DecimalFormat("###0.0000000");
     50                latLonFormat = new DecimalFormat("###0.0000000",
     51                        new DecimalFormatSymbols(Locale.US));
    4952
    5053        protected URL getURL(double w, double s,double e,double n,
Note: See TracChangeset for help on using the changeset viewer.