How to select and query the attributes of a polygon feature
4EXP 2024.12.17
The base map is Tianditu, and the overlay is a map composed of grid surfaces. I want to achieve an effect where clicking on a grid can obtain detailed information about this grid. Is there such an event?

1 Answer

Yes, you can set a click event for the layer, and bind the event to a popup to display object information. You can refer to the official example: https://iclient.supermap.io/examples/leaflet/editor.html#02_getFeatureByIDs

I hope this can help you!
242EXP 2024.12.17
...