Rename 'clickable' to 'interactive' per leaflet 1.x change
This commit is contained in:
parent
8346821d66
commit
4b43396ede
5 changed files with 5 additions and 5 deletions
|
@ -69,7 +69,7 @@ OSM.NewNote = function(map) {
|
|||
var marker = L.marker(feature.geometry.coordinates.reverse(), {
|
||||
icon: noteIcons[feature.properties.status],
|
||||
opacity: 0.9,
|
||||
clickable: true
|
||||
interactive: true
|
||||
});
|
||||
marker.id = feature.properties.id;
|
||||
marker.addTo(noteLayer);
|
||||
|
|
|
@ -87,7 +87,7 @@ OSM.Note = function (map) {
|
|||
currentNote = L.marker(latLng, {
|
||||
icon: noteIcons[data.status],
|
||||
opacity: 1,
|
||||
clickable: true
|
||||
interactive: true
|
||||
});
|
||||
|
||||
map.addLayer(currentNote);
|
||||
|
|
|
@ -47,7 +47,7 @@ OSM.initializeNotes = function (map) {
|
|||
icon: noteIcons[feature.properties.status],
|
||||
title: feature.properties.comments[0].text,
|
||||
opacity: 0.8,
|
||||
clickable: true
|
||||
interactive: true
|
||||
});
|
||||
marker.id = feature.properties.id;
|
||||
marker.addTo(noteLayer);
|
||||
|
|
|
@ -12,7 +12,7 @@ OSM.Query = function(map) {
|
|||
weight: 4,
|
||||
opacity: 1,
|
||||
fillOpacity: 0.5,
|
||||
clickable: false
|
||||
interactive: false
|
||||
};
|
||||
|
||||
queryButton.on("click", function (e) {
|
||||
|
|
|
@ -209,7 +209,7 @@ L.OSM.Map = L.Map.extend({
|
|||
color: '#FF9500',
|
||||
opacity: 1,
|
||||
fillOpacity: 0,
|
||||
clickable: false
|
||||
interactive: false
|
||||
};
|
||||
|
||||
this.removeObject();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue