Config option for tile layers.
See: https://github.com/freifunkhamburg/ffffng/issues/23
This commit is contained in:
parent
51978bfd70
commit
7c09523e53
6 changed files with 30 additions and 17 deletions
app/scripts/directives
|
@ -29,20 +29,9 @@ angular.module('ffffng')
|
|||
zoom: config.coordsSelector.defaultZoom
|
||||
},
|
||||
markers: {},
|
||||
hasMultipleLayers: _.size(config.coordsSelector.layers) > 1,
|
||||
layers: {
|
||||
baselayers: {
|
||||
osm: {
|
||||
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:
|
||||
'Tiles © <a href=\"https://www.mapquest.com/\" target=\"_blank\">MapQuest</a>, ' +
|
||||
'Data CC-BY-SA OpenStreetMap'
|
||||
}
|
||||
}
|
||||
}
|
||||
baselayers: config.coordsSelector.layers
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue