Questions
Unanswered
Register
|
Login
SuperMap Q&A
Home Page
/
View Questions
/
CloudGIS
/
Infos
How to select and query the attributes of a polygon feature
Chunxiao
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?
icilent
Please [
log in
] or [
register
] to answer this question.
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!
root
242EXP
2024.12.17
Please [
log in
] or [
register
] to add a comment.
Follow us
LinkedIn
Facebook
Twitter
Instagram
YouTube
SuperMap Official Website
SuperMap Online
...