Select to view content in your preferred language

SFV: Disable info popup window on mouseover of graphic layer

561
2
05-26-2010 11:59 AM
RichWestfall
Emerging Contributor
hello,

I want to disable the info popup window that comes up over a graphics layer after a search has been performed.  User will search for parcels and then want to pan around on the map.  In some instances when they select the tool to recenter and then hover over one of the select parcel they receive the a pop up.  How do I disable that feature?

Thanks,

Rich
Tags (2)
0 Kudos
2 Replies
AlexJones
Emerging Contributor
The SearchWidget.mxml has code that listens for this event. (mouseOverGraphic). Try commenting this out and see if it is what you are looking for.

1. gra.addEventListener(MouseEvent.ROLL_OVER, mouseOverGraphic)
2. //mouse over graphic
         private function mouseOverGraphic(event:MouseEvent):void ...

Comment out the entire function.

It has been a while since I did this so let me know if its not what you needed.
0 Kudos
RichWestfall
Emerging Contributor
Alex that was exactly what I was looking for.  Thanks you for the help.
0 Kudos