Zum Hauptinhalt gehen

Identify Tool - Set as Active by default

Kommentare

3 Kommentare

  • Permanently deleted user
    Why not use MapTips? You can configure them to show the relavent information / links / photo / etc. 
    0
  • Permanently deleted user
    Hi Odiri,

     

    Thanks for that suggestion.

     

    I will take a look at that function as an option.

     

    g
    0
  • Mike Diss-Torrance
    If it helps, I had a javascript module that I added to:

     

    1) Within the constructor, I listened for the SiteInitializedEvent and had it call a function called onSiteInitializedEvent

     

    2) Within the onSiteInitializedEvent function, I ran the setActiveTool function of the toolRegistry and passed in the name of the tool I wanted to activate at the statup: this.app.toolRegistry.setActiveTool("POCTool");

     

    3) If you want to get clever, one could pass in the name of the tool appart of the URL string that launches the viewer or as a configuration parameter of the module itself.

     

     

     
    0

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