Remove ability to open 'Additional Details' on Handheld
Is it possible to remove the ability for users to open 'Additional Details' in the handheld version of a map. See images below, I have a feature long description configured to provide all the information that is needed in the map tip. If the map tip is clicked, it brings the user to a blank screen (I've removed all the maptipactions in the .json file thinking that would do the trick). Any ideas on how to disable being able to click on the map tip? Thanks!
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000TSmX&feoid=Body&refid=0EM60000000M1YC"_/_img_
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000TSmX&feoid=Body&refid=0EM60000000M1YH"_/_img_
0
-
Try changing or removing the commands under "behaviors" for the "Results" module. 0 -
Perfect! Removing the text below did the trick!
{
"name": "ResultsListFeatureClickedBehavior",
"event": "ResultsListFeatureClickedEvent",
"commands": [
"ShowFeatureDetails"
]
},
Thank you!0 -
Hi Dan, So I am trying to make the Results 'clickable' again. I assumed it would be as easy and putting the above text back in the Handheld.json file. I've done that, however the additional details wont open...any ideas why this is happening? 0 -
I don't know. I would check for a missing comma and/or put it through a JSON validator.
Have you tried clearing your browser cache?
I wouldn't recommend removing entire sections of code from the JSON unless you have to. Just removing the "ShowFeatureDetails" from the commands should have done the trick.
And always make a backup first.0 -
Very weird...It's workin now....when I kept the Handheld.json file open while I was editing, none of the edits would hold. When I made the edits and CLOSED the .json, then the changes held. Good to know I guess! 0
Please sign in to leave a comment.
Comments
5 comments