Changeset 6917 in josm for trunk


Ignore:
Timestamp:
2014-03-21T00:34:07+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #9841 - access OSM tiles in HTTPS in slippy map chooser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java

    r6890 r6917  
    77import java.awt.Dimension;
    88import java.awt.Graphics;
    9 import java.awt.Image;
    109import java.awt.Point;
    1110import java.awt.Rectangle;
    12 import java.io.IOException;
    1311import java.util.ArrayList;
    1412import java.util.Arrays;
     
    5452        static {
    5553            // Urls that already exist in the slippymap chooser and shouldn't be copied from TMS layer list
    56             existingSlippyMapUrls.add("http://tile.openstreetmap.org/{zoom}/{x}/{y}.png");      // Mapnik
     54            existingSlippyMapUrls.add("https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png");      // Mapnik
    5755            existingSlippyMapUrls.add("http://tile.opencyclemap.org/cycle/{zoom}/{x}/{y}.png"); // Cyclemap
    5856            existingSlippyMapUrls.add("http://otile{switch:1,2,3,4}.mqcdn.com/tiles/1.0.0/osm/{zoom}/{x}/{y}.png"); // MapQuest-OSM
Note: See TracChangeset for help on using the changeset viewer.