Select to view content in your preferred language

Mouse Scroll Wheel Zoom

3229
3
11-21-2011 01:56 PM
JuneFinkbiner
Emerging Contributor
I have attempted first embedded flex map on web page. Zoom in/out with the scroll wheel works over the left half of map but not at all over the right half. Any ideas on cause and fix?

Another oddity is that the More... caption won't show on that button.
Tags (2)
0 Kudos
3 Replies
JuneFinkbiner
Emerging Contributor
More info.

That was using IE. If there is a vertical scroll bar the wheel acts only on that. In Firefox the scroll wheel zoom works fine. Although the legend symbology won't show in the Contents box (it does in IE).

In addition to the button caption not showing, the unit labels on scale bar and the coordinate widget don't show, 'null' displays in their place.
0 Kudos
JuneFinkbiner
Emerging Contributor
Update.

Using a newer version template for the flex map viewer corrected issues with the Contents symbology and label captions.

All now works great in Firefox and Chrome. IE still doesn't scroll zoom properly.
0 Kudos
AndyGup
Esri Regular Contributor
RE: scroll wheel only working over one part of the map.

You might have a component that is sitting on top of the map. When that happens, the mouseover event only occurs on that component, and the map won't receive the event.

My suggestion is to check for a component that is positioned on the right hand side of your app and has a height of 100%. This component might be in your mxml code before your <esri:map> tag. Look at the app in Flash Builder's design view.

-Andy
Esri Developer Network
0 Kudos