您好,听起来您是想制作点击查询的功能。
具体思路应该是,通过点击时间获取点击地图位置的空间坐标。
通过空间坐标去对地图图层进行查询,之后在点击位置弹出弹窗打印查询结果。
看您是需要在哪个端去实现呢?这边提供iClient for Leaflet的实现功能相关demo。
几何查询:https://iclient.supermap.io/examples/leaflet/editor.html#01_mapQueryByGeometry
弹窗功能:https://iclient.supermap.io/examples/leaflet/editor.html#01_mapQueryByDistance