Map tiles via HTTPS + Fix for max zoom level.

This commit is contained in:
baldo 2016-06-11 12:39:34 +02:00
parent c038546ac2
commit 71690b7d5c

View file

@ -32,15 +32,14 @@ angular.module('ffffng')
layers: {
baselayers: {
osm: {
name: '',
url: 'http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg',
name: 'MapQuest (OSM)',
url: 'https://otile{s}-s.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg',
type: 'xyz',
layerOptions: {
subdomains: '1234',
attribution:
'Map data Tiles &copy; <a href="http://www.mapquest.com/" target="_blank">MapQuest</a> ' +
'<img src="https://developer.mapquest.com/content/osm/mq_logo.png" />, ' +
'Map data © OpenStreetMap contributors, CC-BY-SA'
'Tiles &copy; <a href=\"https://www.mapquest.com/\" target=\"_blank\">MapQuest</a>, ' +
'Data CC-BY-SA OpenStreetMap'
}
}
}