Merge remote-tracking branch 'openstreetmap/pull/1004'
BIN
app/assets/images/key/cyclemap/bicycle_parking.png
Normal file
After Width: | Height: | Size: 603 B |
BIN
app/assets/images/key/cyclemap/bicycle_shop.png
Normal file
After Width: | Height: | Size: 792 B |
BIN
app/assets/images/key/cyclemap/common.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
app/assets/images/key/cyclemap/cycleway.png
Normal file
After Width: | Height: | Size: 155 B |
BIN
app/assets/images/key/cyclemap/cycleway_local.png
Normal file
After Width: | Height: | Size: 151 B |
BIN
app/assets/images/key/cyclemap/cycleway_local13.png
Normal file
After Width: | Height: | Size: 149 B |
BIN
app/assets/images/key/cyclemap/cycleway_national.png
Normal file
After Width: | Height: | Size: 150 B |
BIN
app/assets/images/key/cyclemap/cycleway_national13.png
Normal file
After Width: | Height: | Size: 148 B |
BIN
app/assets/images/key/cyclemap/cycleway_regional.png
Normal file
After Width: | Height: | Size: 151 B |
BIN
app/assets/images/key/cyclemap/cycleway_regional13.png
Normal file
After Width: | Height: | Size: 149 B |
BIN
app/assets/images/key/cyclemap/footway.png
Normal file
After Width: | Height: | Size: 141 B |
BIN
app/assets/images/key/cyclemap/forest.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
app/assets/images/key/cyclemap/lake.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
app/assets/images/key/cyclemap/motorway.png
Normal file
After Width: | Height: | Size: 187 B |
BIN
app/assets/images/key/cyclemap/motorway12.png
Normal file
After Width: | Height: | Size: 232 B |
BIN
app/assets/images/key/cyclemap/primary.png
Normal file
After Width: | Height: | Size: 186 B |
BIN
app/assets/images/key/cyclemap/primary12.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
app/assets/images/key/cyclemap/rail.png
Normal file
After Width: | Height: | Size: 96 B |
BIN
app/assets/images/key/cyclemap/rail14.png
Normal file
After Width: | Height: | Size: 103 B |
BIN
app/assets/images/key/cyclemap/secondary.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
app/assets/images/key/cyclemap/secondary12.png
Normal file
After Width: | Height: | Size: 203 B |
BIN
app/assets/images/key/cyclemap/toilets.png
Normal file
After Width: | Height: | Size: 427 B |
BIN
app/assets/images/key/cyclemap/track.png
Normal file
After Width: | Height: | Size: 147 B |
BIN
app/assets/images/key/cyclemap/trunk.png
Normal file
After Width: | Height: | Size: 192 B |
BIN
app/assets/images/key/cyclemap/trunk12.png
Normal file
After Width: | Height: | Size: 211 B |
|
@ -60,7 +60,7 @@ L.OSM.key = function (options) {
|
|||
}
|
||||
|
||||
function updateButton() {
|
||||
var disabled = map.getMapBaseLayerId() !== 'mapnik';
|
||||
var disabled = ['mapnik', 'cyclemap'].indexOf(map.getMapBaseLayerId()) === -1;
|
||||
button
|
||||
.toggleClass('disabled', disabled)
|
||||
.attr('data-original-title',
|
||||
|
|
|
@ -44,3 +44,29 @@ mapnik:
|
|||
- { min_zoom: 15, max_zoom: 19, name: private, image: private.png }
|
||||
- { min_zoom: 15, max_zoom: 19, name: destination, image: destination.png }
|
||||
- { min_zoom: 12, max_zoom: 19, name: construction, image: construction.png }
|
||||
cyclemap:
|
||||
- { min_zoom: 0, max_zoom: 11, name: motorway, image: motorway.png }
|
||||
- { min_zoom: 12, max_zoom: 19, name: motorway, image: motorway12.png }
|
||||
- { min_zoom: 0, max_zoom: 11, name: trunk, image: trunk.png }
|
||||
- { min_zoom: 12, max_zoom: 19, name: trunk, image: trunk12.png }
|
||||
- { min_zoom: 7, max_zoom: 11, name: primary, image: primary.png }
|
||||
- { min_zoom: 12, max_zoom: 19, name: primary, image: primary12.png }
|
||||
- { min_zoom: 9, max_zoom: 11, name: secondary, image: secondary.png }
|
||||
- { min_zoom: 12, max_zoom: 19, name: secondary, image: secondary12.png }
|
||||
- { min_zoom: 13, max_zoom: 19, name: track, image: track.png }
|
||||
- { min_zoom: 8, max_zoom: 19, name: cycleway, image: cycleway.png }
|
||||
- { min_zoom: 5, max_zoom: 12, name: cycleway_national, image: cycleway_national.png }
|
||||
- { min_zoom: 13, max_zoom: 19, name: cycleway_national, image: cycleway_national13.png }
|
||||
- { min_zoom: 5, max_zoom: 12, name: cycleway_regional, image: cycleway_regional.png }
|
||||
- { min_zoom: 13, max_zoom: 19, name: cycleway_regional, image: cycleway_regional13.png }
|
||||
- { min_zoom: 8, max_zoom: 12, name: cycleway_local, image: cycleway_local.png }
|
||||
- { min_zoom: 13, max_zoom: 19, name: cycleway_local, image: cycleway_local13.png }
|
||||
- { min_zoom: 13, max_zoom: 19, name: footway, image: footway.png }
|
||||
- { min_zoom: 7, max_zoom: 13, name: rail, image: rail.png }
|
||||
- { min_zoom: 14, max_zoom: 19, name: rail, image: rail14.png }
|
||||
- { min_zoom: 9, max_zoom: 19, name: forest, image: forest.png }
|
||||
- { min_zoom: 10, max_zoom: 19, name: common, image: common.png }
|
||||
- { min_zoom: 7, max_zoom: 19, name: lake, image: lake.png }
|
||||
- { min_zoom: 14, max_zoom: 19, name: bicycle_shop, image: bicycle_shop.png }
|
||||
- { min_zoom: 14, max_zoom: 19, name: bicycle_parking, image: bicycle_parking.png }
|
||||
- { min_zoom: 16, max_zoom: 19, name: toilets, image: toilets.png }
|
||||
|
|
|
@ -1433,6 +1433,9 @@ en:
|
|||
track: "Track"
|
||||
bridleway: "Bridleway"
|
||||
cycleway: "Cycleway"
|
||||
cycleway_national: "National cycleway"
|
||||
cycleway_regional: "Regional cycleway"
|
||||
cycleway_local: "Local cycleway"
|
||||
footway: "Footway"
|
||||
rail: "Railway"
|
||||
subway: "Subway"
|
||||
|
@ -1485,6 +1488,8 @@ en:
|
|||
private: "Private access"
|
||||
destination: "Destination access"
|
||||
construction: "Roads under construction"
|
||||
bicycle_shop: "Bicycle shop"
|
||||
bicycle_parking: "Bicycle parking"
|
||||
richtext_area:
|
||||
edit: Edit
|
||||
preview: Preview
|
||||
|
|