Left Click - Popup or Identify Results
Hi All,
Currently my site is configured so that to get information about a service in the application, the user must right click on the feature and choose "Find data on the map". My assumption is that this is activating the Identify widget and selecting the point at the mouse location.
I would prefer to eliminate some clicks here and have the user simply left click (once) to activate either a popup window or open the Identify Results window. At face value this should be pretty simple - but i seem to be missing something. Any insight is greatly appreciated.
Thanks,
Chris
0
-
Chris,
In GE Manager > Site Map > go to the layer of interest and scroll down under Supported Operations, make sure Show Map Tips is checked and Apply changes. When this is checked, you can left-click features to see their information. You should have info in either the Feature Description or Feature Long Description in order to have information for the Map Tip.
Regards,
-SJE0 -
See, I knew it would be something obnoxiously simple. Thank you for the tip Steven, I appreciate it. 0 -
Hey Chris, if you ever decide you want single click to go straight to identify results (and thus you are not using map tips), you can modify the Desktop.json.js file MapOnClickBehaviour to read "Identify" instead of "InvokeMapTip". This makes single left clicks identify any identifiable feature by default.
"defaultPointFeatureZoomScales": [],
"behaviors": [
{
"name": "MapOnClickBehavior",
"commands": [
"InvokeMapTip"
]
},
Don0 -
Awesome! Thanks Donny! 0 -
Got ya covered buddy 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare