Merge remote-tracking branch 'openstreetmap/pull/1004'

This commit is contained in:
Tom Hughes 2016-08-15 20:20:37 +01:00
commit dae3dcf87e
28 changed files with 32 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

View file

@ -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',

View file

@ -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 }

View file

@ -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