Remove more traces of MapQuest Open layer
This commit is contained in:
parent
fb234e2ecb
commit
16f8acd243
2 changed files with 1 additions and 4 deletions
|
@ -22,14 +22,12 @@ window.onload = function () {
|
|||
map.attributionControl.setPrefix('');
|
||||
map.removeControl(map.attributionControl);
|
||||
|
||||
if (!args.layer || args.layer === "mapnik" || args.layer === "osmarender") {
|
||||
if (!args.layer || args.layer === "mapnik" || args.layer === "osmarender" || args.layer === "mapquest") {
|
||||
new L.OSM.Mapnik().addTo(map);
|
||||
} else if (args.layer === "cyclemap" || args.layer === "cycle map") {
|
||||
new L.OSM.CycleMap().addTo(map);
|
||||
} else if (args.layer === "transportmap") {
|
||||
new L.OSM.TransportMap().addTo(map);
|
||||
} else if (args.layer === "mapquest") {
|
||||
new L.OSM.MapQuestOpen().addTo(map);
|
||||
} else if (args.layer === "hot") {
|
||||
new L.OSM.HOT().addTo(map);
|
||||
}
|
||||
|
|
|
@ -2190,7 +2190,6 @@ en:
|
|||
standard: Standard
|
||||
cycle_map: Cycle Map
|
||||
transport_map: Transport Map
|
||||
mapquest: MapQuest Open
|
||||
hot: Humanitarian
|
||||
layers:
|
||||
header: Map Layers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue