Zum Hauptinhalt gehen

html5 clustering - clicking on a cluster hides all other features, how can this be disabled?

Kommentare

4 Kommentare

  • Permanently deleted user
    Required feature has been added to improvement request by Geocortex team.
    0
  • Permanently deleted user
    Has a version been targeted to provide this functionality?
    0
  • Permanently deleted user
    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
  • Berend Veldkamp
    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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.