Aller au contenu principal

Expose more events in the Web designer

Terminée

Commentaires

4 commentaires

  • Cam Barnard

    Hi Berend - I agree. Currently in master and you'll see many more events exposed in Web Designer in 5.6 (April).

    You'll note of that one of the hooks below is the one you are looking for.


    Here's a list of what is coming in 5.6:

    App:

    - onInitializing

    - onInitialized

    Layout:

    - onLayoutLoading

    - onLayoutLoaded

    feature-details:

    - onFeatureShow: CommandSettings;

    - onFeatureHide: CommandSettings;

    - onFeatureAdd: CommandSettings;

    - onFeatureRemove: CommandSettings;

    Map:

    - onClick: CommandSettings;

    - onInitialized: CommandSettings;

    - onViewpointChanged: CommandSettings;

    Search:

    - onClear: CommandSettings;

    - onSearch: CommandSettings;

    Results (list/table):

    - onFeatureClick: CommandSettings;

    - onFeatureRemove: CommandSettings;

    - onAllFeaturesRemoved: CommandSettings;

    - onFeatureAdd: CommandSettings;

    - onFeatureShow: CommandSettings;

    - onFeatureHide: CommandSettings;

    - onHover: CommandSettings;

    - onHoverEnd: CommandSettings;

    - onSelect: CommandSettings;

    - onDeselect: CommandSettings;

    Predefined Web Tool:

    - pointIdentifyDetails

    1
  • Permanently deleted user

    Hi Cam,


    It would be nice if an event was added which fires when using the 2d/3d toggle.



    0
  • Cam Barnard

    Hi Bob,


    That's certainly something we can consider adding. Can you help me flesh-out the use case around what you might use such an event for?


    Just so you know the "Map Viewpoint Changed" event is fired when you use the 2D/3D toggle (but obviously also when you just move the map or scene around) if that is something you can take advantage of for your use case.

    0
  • Jake Brown

    +1 an event for layer visibility (toggle) change. Like it would be cool if I could change if a KPI was visible or not based on if the layer was toggled as visible.

    1

Vous devez vous connecter pour laisser un commentaire.