Select to view content in your preferred language

How to detect the user deselected a layer

2768
1
08-24-2015 11:45 AM
Sidneyvan_de_Stouwe
Deactivated User

I need to disable the maptips of a certain layer the moment the user deselected the layer. How do I recognize this event?

0 Kudos
1 Reply
HectorChapa
Frequent Contributor

I believe that maptips are design with the hover view and they close automatically when the use loses focus.. I went to the api reference to check on the methods they have maptipsdelay this methods controls the timer from display to close you can play with that if that helps at all. then the other method that could do the trick is refreshmaptips then again am only second guessing of your end goal. I would like to see your code that you have fully implemented..

0 Kudos