[OpenLayers-Users] Panning button in the editing toolbar re-enables zoom via scroll wheel

Christopher Dale chrelad at gmail.com
Fri Aug 21 12:20:59 EDT 2009


Hi everyone,

I tested this on Chrome and it seems to do the same thing. Just
checking to make sure it wasn't a Firefox only thing.

I took a sec to record this attempt also.

http://yfrog.com/15openlayers2g

Lemme know what you think and thank you,

Chrelad

On Fri, Aug 21, 2009 at 10:47 AM, Christopher Dale<chrelad at gmail.com> wrote:
> Hi everyone,
>
> I thought maybe an example of what I'm talking about might help
> everyone here get an idea of what I'm talking about.
>
> http://yfrog.com/74openlayers1g
>
> Let me know what you think and thanks again,
>
> Chrelad
>
> On Fri, Aug 21, 2009 at 10:03 AM, Christopher Dale<chrelad at gmail.com> wrote:
>> Hi everyone,
>>
>> Couple things :)
>>
>> First off, I found that zooming with the scroll wheel can cause some
>> big headaches. Here are some of the things I ran into while zooming in
>> and out and panning. Note that all tests were done with Firefox 3 +
>> OpenLayers SVN + Virtual Earth base tiles + Spherical mercator +
>> vector layer.
>>
>> - When you zoom with your scroll wheel, the map zooms in, but vector
>> features appear (sometimes) offset from their proper location
>> (left/right).
>> - Rolled forward one click which zoomed in properly, panned left. When
>> I lifted my finger off left mouse button to stop panning left, the map
>> zoomed in again one zoom level.
>>
>> I eventually just disabled zooming using the zoomWheelEnabled property
>> for the Navigation control. This works great, until I draw a feature
>> and then click the navigation button in the editing toolbar. I know
>> for a fact that the problem begins when you click the navigation
>> button in the editing toolbar.
>>
>> Could anyone recommend either a way to get zooming via the scroll
>> wheel to work properly (ie. fixing the top-most two bugs) or getting
>> the pan button to not re-enable scroll wheel zooming?
>>
>> Thanks team OpenLayers!
>>
>> Chrelad
>>
>



More information about the Users mailing list