Adds first try to add key to cyclemap
This commit is contained in:
parent
d28ae2ad0a
commit
56316e17ad
10 changed files with 10 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue