diff --git a/js/jquery.geo.geomap.js b/js/jquery.geo.geomap.js index e8c9b9c..e55776c 100644 --- a/js/jquery.geo.geomap.js +++ b/js/jquery.geo.geomap.js @@ -44,9 +44,9 @@ "class": "osm", type: "tiled", src: function (view) { - return "//otile" + ((view.index % 4) + 1) + ((location.protocol === 'https:') ? "-s" : "") + ".mqcdn.com/tiles/1.0.0/osm/" + view.zoom + "/" + view.tile.column + "/" + view.tile.row + ".png"; + return "//" + String.fromCharCode(97 + (view.index % 3)) + ".tile.openstreetmap.org/" + view.zoom + "/" + view.tile.column + "/" + view.tile.row + ".png"; }, - attr: 'Tiles Courtesy of MapQuest ' + attr: '© OpenStreetMap contributors' } ], tilingScheme: { diff --git a/package.json b/package.json index 1bc51a0..74796cc 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,8 @@ "name": "jquery.geo", "title": "jQuery Geo", "description": "An interactive mapping widget and geo-spatial API built on open source and open data (NOT a wrapper of other APIs, such as Google Maps)", - "version": "1.0.0-rc1.1", - "main": "dist/jquery.geo-1.0.0-rc1.1.js", + "version": "1.0.0-rc1.2", + "main": "dist/jquery.geo-1.0.0-rc1.2.js", "registry": "npm", "format": "global", "homepage": "http://jquerygeo.com",