From 3e8dd902111ff9a235c943b1480db5c346caabc8 Mon Sep 17 00:00:00 2001
From: luccioman
-
-
+
+
#{/loc}#
Map (c) by OpenStreetMap and contributors, CC-BY-SA
+Map (c) by OpenStreetMap and contributors, CC-BY-SA
#(/geoinfo)# diff --git a/source/net/yacy/peers/graphics/OSMTile.java b/source/net/yacy/peers/graphics/OSMTile.java index ecb240e9c..019e9da0a 100644 --- a/source/net/yacy/peers/graphics/OSMTile.java +++ b/source/net/yacy/peers/graphics/OSMTile.java @@ -152,7 +152,7 @@ public class OSMTile { // see http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames final int hash = (this.xtile + 7 * this.ytile + 13 * this.zoom + retry) % 4; final String host = (hash == 3) ? "tile.openstreetmap.org" : ((char) ('a' + hash)) + ".tile.openstreetmap.org"; - final String url = "http://" + host + "/" + this.zoom + "/" + this.xtile + "/" + this.ytile + ".png"; + final String url = "https://" + host + "/" + this.zoom + "/" + this.xtile + "/" + this.ytile + ".png"; //System.out.println("OSM URL = " + url); return url; }