Skip to content

Commit 3551b13

Browse files
authored
Add event coordinates to message (#1228)
1 parent 6903b7e commit 3551b13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/jupyter_leaflet/src/layers/GeoJSON.ts

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export class LeafletGeoJSONView extends LeafletFeatureGroupView {
5757
feature: feature,
5858
properties: feature.properties,
5959
id: feature.id,
60+
coordinates: [e.latlng.lat, e.latlng.lng],
6061
});
6162
};
6263
layer.on({

0 commit comments

Comments
 (0)