shorten layer names so smartphones with smaller screens don’t wrap the layer chooser
This commit is contained in:
parent
2b102f0f33
commit
47d6a3e886
@ -125,10 +125,10 @@ window.setupMap = function() {
|
|||||||
addLayers['Links'] = linksLayer;
|
addLayers['Links'] = linksLayer;
|
||||||
|
|
||||||
window.layerChooser = new L.Control.Layers({
|
window.layerChooser = new L.Control.Layers({
|
||||||
'OSM Cloudmade Midnight': views[0],
|
'OSM Midnight': views[0],
|
||||||
'OSM Cloudmade Minimal': views[1],
|
'OSM Minimal': views[1],
|
||||||
'OSM Mapnik': views[2],
|
'OSM Mapnik': views[2],
|
||||||
'Google Roads Ingress Style': views[3],
|
'Default Ingress Map': views[3],
|
||||||
'Google Roads': views[4],
|
'Google Roads': views[4],
|
||||||
'Google Satellite': views[5],
|
'Google Satellite': views[5],
|
||||||
'Google Hybrid': views[6]
|
'Google Hybrid': views[6]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user