We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f7343d commit ab8a2b9Copy full SHA for ab8a2b9
python/jupyter_leaflet/src/layers/GeoJSON.ts
@@ -60,6 +60,14 @@ export class LeafletGeoJSONView extends LeafletFeatureGroupView {
60
coordinates: [e.latlng.lat, e.latlng.lng],
61
});
62
};
63
+ const pmIgnore = this.model.get('pm_ignore');
64
+ if (pmIgnore !== undefined) {
65
+ (layer as any).pmIgnore = pmIgnore;
66
+ if (pmIgnore && layer.pm) {
67
+ layer.pm.disable();
68
+ delete (layer as any).pm;
69
+ }
70
71
layer.on({
72
mouseover: mouseevent,
73
click: mouseevent,
0 commit comments