[OpenLayers-Users] Features shift away from cursor on mouse
scroll on google mercator maps
Tim Sutton
tim at linfiniti.com
Fri Dec 9 01:07:08 EST 2011
Hi Anreas
On Wed, Dec 7, 2011 at 7:39 PM, Andreas Hocevar <ahocevar at opengeo.org> wrote:
> Must be something in your application, but I haven's seen this
> behavior before. See http://openlayers.org/dev/examples/google-v3.html
> for a minimal example where it works fine.
>
Thanks for your response. Yes the demo you pointed to works for me
too. I'll take another poke around in my code thanks.
Regards
Tim
> Andreas.
>
> On Tue, Dec 6, 2011 at 7:15 AM, Tim Sutton <tim at linfiniti.com> wrote:
>> Hi All
>>
>> I am experiencing an issue with mousewheel zoom in and out. In this
>> example[1] which is based on EPSG:4326, when I hold my mouse over a
>> place and zoom in using the scroll wheel, the original position
>> remains under the cursor at the new zoom level. In my own project[2]
>> which is based on EPSG:900913 and uses google maps v3 as a backdrop, I
>> don't get this behaviour. For example holding your mouse over Cape
>> Town and then scrolling in will result in the cursor being located out
>> at sea after the scroll event has completed.
>>
>> Has anyone experienced this problem before? Is there any work around
>> of fix readily available before I start trying to roll my own? I am
>> using OpenLayers 2.11 by the way.
>>
>> [1] http://dev.openlayers.org/releases/OpenLayers-2.11/examples/navigation-control.html
>> [2] http://farminfo.co.za/
>> --
>> Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
>> ==============================================
>> Visit http://linfiniti.com to find out about:
>> * QGIS programming services
>> * Mapserver and PostGIS based hosting plans
>> * FOSS Consulting Services
>> Skype: timlinux Irc: timlinux on #qgis at freenode.net
>> ==============================================
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
--
Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
==============================================
Visit http://linfiniti.com to find out about:
* QGIS programming services
* Mapserver and PostGIS based hosting plans
* FOSS Consulting Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
==============================================
More information about the Users
mailing list