Problem with "Land Use Public Comment" Template

Discussion created by StepAlexander on Nov 22, 2011
Hi all,

I was wondering if you could advise on the following:

we are developing an app, which based on the "Land Use Public Comment" Template

A pop-up with a short summary appears when a user hover on the features. Panning works fine as well. The problem happens when a user clicks on the feature and pans the map. After that "popup-on-hover" doesnt' work any more. The only way get everything to normal is to click again on the feature (getting detail info window ).

How could I catch such events?

Thank you,

P.S. Please refer to attached figure

P.P.S. just to summarize:

event "hover" -> app shows "popup"
event "click" on the feature -> app shows "detail info"
event "click and drag" (outside of a feature ) -> it works as normal panning
event "click and drag" (while cursor is insider/over a feature ) -> it works as pan but it blocks all further "pop-ups" from showing when a user hovers on any feature.
The only way to get back to default functionality is to click on feature ( which will show detail info ) and close that window.