html5 clustering - clicking on a cluster hides all other features, how can this be disabled?
html5 clustering - clicking on a cluster hides all other features, how can this be disabled?
0
-
Required feature has been added to improvement request by Geocortex team. 0 -
Has a version been targeted to provide this functionality? 0 -
I've checked with the Essentials team, and while it's in the prioritized backlog, it's not yet on the roadmap, which would mean it isn't currently planned for either of the next two feature releases (tentatively scheduled for the next seven to nine months). I've created an (https://support.geocortex.com/essentialsGSCIdeasDetail?c=09a6000000008RsAAI&id=08760000000LC7uAAG) idea for this enhancement here . 0 -
I fixed this by writing a custom module that overwrites the default click behaviour, and instead zooms in on the clustered features. Note that this will remove the 'explosion' of clusters into their underlying features as well. Also, this does not seem to work on mobile, I think that there may be a mixup between click and touch events. this.app.event("ClusterLayerAddedEvent").subscribe(this, (layer: infrastructure.ClusterLayer) => { layer.onFeatureClicked = (event: esri.AGSMouseEvent) => { // custom functionality goes here } });0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer