Feature Details
Is it possible to show the feature details when clicking on a feature instead of the map tips? I've seen number of posts in and around the issue but can't find anything specifically for this. I thought it might be in the code below but changing the commands to "Show Feature Details" either throws an error or does nothing.
"name": "MapOnClickBehavior",
"commands": [
"InvokeMapTip"
]
},
{
"name": "MapOnContextMenuBehavior",
"commands": [
"ActivateMapContextMenu"
]
},
{
"name": "MapOnLongClickBehavior",
"commands": [
"ActivateMapContextMenu"
]
},
{
"name": "MapOnFeatureClickBehavior",
"commands": [
"ShowMapTip"
]
0
-
Hi Scott,
Are you meaing to not have map tips show, but instead when you click on a feature, the results panel opens on the left? Or do you want the feature details to show up in the map tips?
If you are looking for the results panel to open when you click on a feature, you can try playing around with the "Identify" command. Replace "InvokeMapTip" with "Identify". This will move the map tip and instead enable the identify tool when ever you click on the map.Thanks,
Ali
0 -
Older post, But the change from InvokeMapTip to Identify gets it so close to working! Wondering if anyone's figured out how to get it to the last step of opening the feature details when the identify returns a single feature? 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer