Skip to main content

Add Measurement tool to Map Context Menu in HTML5 Viewer

Comments

2 comments

  • Permanently deleted user
    Hi Stephanie,

     

     

    You're right, it is fairly simple and you were very close to solving it yourself using the SetActiveTool command. However, the Command Parameter to measure distance is 'MeasureDistanceTool' and for areas it is 'MeasureAreaTool'.

     

     

    I got this info from Brian Oevermann's helpful comment in this thread:

     

    https://support.geocortex.com/essentialsGSCForumDetail?sub-nav=forum&main-nav=essentials&id=0D5f200006aOfOeCAK

     

     

    Also note that Brian listed the system icons that you can use for these tools, as below:

     

    Resources/Images/Icons/Toolbar/measure-distance-24.png

     

    Resources/Images/Icons/Toolbar/measure-area-24.png
    0
  • Permanently deleted user
    Amazing!  Thank you so much Lindsay, I really appreciate you taking the time to answer this.  "MeasureDistanceTool" worked perfectly.  Thanks!
    0

Please sign in to leave a comment.