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 3970364 commit eaee59cCopy full SHA for eaee59c
python/jupyter_leaflet/src/layers/GeoJSON.ts
@@ -63,6 +63,14 @@ export class LeafletGeoJSONView extends LeafletFeatureGroupView {
63
coordinates: [e.latlng.lat, e.latlng.lng],
64
});
65
};
66
+ const pmIgnore = this.model.get('pm_ignore');
67
+ if (pmIgnore !== undefined) {
68
+ (layer as any).pmIgnore = pmIgnore;
69
+ if (pmIgnore && layer.pm) {
70
+ layer.pm.disable();
71
+ delete (layer as any).pm;
72
+ }
73
74
layer.on({
75
mouseover: mouseevent,
76
click: mouseevent,
0 commit comments