Changeset 4034 in osm for applications


Ignore:
Timestamp:
2007-08-09T00:36:35+02:00 (18 years ago)
Author:
frsantos
Message:

Fixed URI in Windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ywms/src/org/openstreetmap/josm/plugins/ywms/ImageLoader.java

    r4017 r4034  
    8282                        URI request = new URI("file:///page" + wmsUrl);
    8383                        String query = request.getQuery().toLowerCase();
    84                         yahooUrl = new URI( "file", null, Util.getPluginDir() + "ymap.html", query, null);
     84                        yahooUrl = new File(Util.getPluginDir(), "ymap.html").toURI();
     85                        yahooUrl = new URI( yahooUrl.toString() + "?" + query);
    8586                       
    8687                        // Parse query to find original bounding box and dimensions
Note: See TracChangeset for help on using the changeset viewer.