With HTML 2.7, is there a way to add Draw & Measure commands to the I Want To menu?
I am able to add other commands but I am struggling on attempting to configure those with the HTML viewer.
0
-
Yes, but you need to do it in a workflow. Here's a sample workflow you can add to your I Want To menu to measure a distance.
https://drive.google.com/open?id=0B_hHHiqcTKMfdDdsV0Y5WlhjNlk0 -
Thanks for your help, this is exactly what I was looking for. 0 -
John, do you mind if I put that workflow up in the code gallery? 0 -
Jordan, go for it. 0 -
Hi John,
I want to include measure a distance into I want to menu.
I tried to copy this code to txt doc and then rename it as .xaml file but it does not working.
What might be the issue here?
I must do anything else
thanks in advance
best,
Lubna0 -
Sometimes some extra text gets copied from the txt doc to the xaml. Make sure that your xaml starts with the opening <Activity tag and ends with the closing <Activity> tag. 0 -
I added Distance measure and Area measure tools directly to the I Want To menu, no workflow required. This was to satisfy users' demand for a method to do a quick measurement without burrowing into the toolbars.
Add a menu item and populate the dialog box as follows:
Distance:
Text: @language-measurement-measure-distance-tool-name
Description: @language-measurement-measure-distance-tool-tooltip
Command: SetActiveTool
Command Parameter: MeasureDistanceTool
Icon URI: Resources/Images/Icons/Toolbar/measure-distance-24.png
Area:
Text: @language-measurement-measure-area-tool-name
Description: @language-measurement-measure-area-tool-tooltip
Command: SetActiveTool
Command Parameter: MeasureAreaTool
Icon URI: Resources/Images/Icons/Toolbar/measure-area-24.png
Keep in mind that there is no functionality to edit or delete the objects. You would need to go into the toolbars and use those functions from there, assuming you have set them up.0 -
Hi Brian,
thank you for your help.
best,
lubna0 -
All of the above helped me to place a Quick measure tool (without sticky) on the Home panel. thank you! 0 -
Thanks for this. It would be good to know what all the possible parameters are for SetActiveTool. If I go to docs.geocortex.com and do a search for MeasureDistanceTool no results are returned. Where did Brian go in order to know to use this? Could the guys at Latitude/VertiGIS document this? 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
10 kommentarer