geojupyter / jupytergis

JupyterGIS - Collaborative GIS editor in Jupyter
https://jupytergis.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
276 stars 40 forks source link

Make identify panel more interactive #623

Open martinRenou opened 1 month ago

martinRenou commented 1 month ago

Clicking on a feature in the identify panel list should probably highlight the clicked feature on the map, and/or move and zoom to the feature position.

mfisher87 commented 1 month ago

Love this idea! Perhaps right-click to zoom to the feature?

martinRenou commented 1 month ago

Perhaps right-click to zoom to the feature?

You mean through a menu? What other things could we add to such menu?

mfisher87 commented 1 month ago

Yeah, a right-click menu in the identify panel, or maybe an icon :mag: next to the title of each feature? I don't have any ideas for other things that would go in a context menu, so I am leaning towards an icon. We can always revisit later!

martinRenou commented 1 month ago

We should try to be homogeneous in the UI and use the same icon as the annotation's goto icon.

mfisher87 commented 1 month ago

Agreed. I went to go look at the icon and I think we have a bug there though. In the latest JupyterLite deployment, annotations don't show up in the sidepanel, and I can't close the annotation dialog boxes on the map either.

Image