bool(false) How to the conflict when the SelectFeature control, SelectCluster control and the mouse event for the client thematic map is sharing used? - FAQ - SuperMap

Q: How to the conflict when the SelectFeature control, SelectCluster control and the mouse event for the client thematic map is sharing used?

A: 1. Plan 1: add the vectorlayer layer to the cluster layer or client thematic map: map.addLayers [base map, cluster layer/thematic map, vector layer]. 2. Plan 2: when the cluster layer is shared with vector layer, you can add the cluster layer to the selectFeature control, such as SuperMap. Control. SelectFeature ([vectorlayer,clusterLayer],{onSelect:onFeatureSelect}),addLayers(). The layer order is not restricted.


09 Jul,2019
Tags:iclient

More iClient FAQ