Identify Command Hyperlink
Hi
I am trying to use the idetncy command in a hyperlink within the feature long description. What I want to do, is that when you click on the hyperlink from the map tip, it will automatically identify the feature and open it in the results window. So far this is what I have:
<a href="command:Identify?{$Feature}>Identify</a>
However it is not returning any results.
When I use
<a href="command:Identify?{$Geometry}>Identify</a>
it works but returns results for the surrounding polygons as well. What object token can I use to make it work?
Thanks
0
-
Have you tried the ShowFeatureDetails command? That's what the MapTipsActions menu item uses (Show Feature Details).
{
"id": "MapTipActions",
"description": "@language-menu-maptip-actions-desc",
"defaultIconUri": "Resources/Images/Icons/arrow-right-alt-24.png",
"items": [
{
"text": "More Details",
"description": "@language-menu-maptip-actions-view-details-desc",
"iconUri": "Resources/Images/Icons/arrow-right-alt-24.png",
"batch": [
{
"command": "ShowFeatureDetails"
},
{
"command": "DeactivateView",
"commandParameter": "MapTipView"
}
],
"hideOnDisable": false
},
{
"text": "@language-feature-layer-edit",
"description": "@language-feature-layer-edit-desc",
"iconUri": "Resources/Images/Icons/arrow-right-alt-24.png",
"command": "StartEditingFeature",
"hideOnDisable": true
}
]
}0
Please sign in to leave a comment.
Comments
1 comment