On Wed, Feb 11, 2009 at 08:16:39PM +0100, Detlef Reichl wrote: > Hi, > > i have a strange problem. I have a map, which uses two OpenStreetMap > layers and a Marker layer on top. > > With an old version of my code - only simple functions, no OO patterns - > zooming worked like expected. After a redesign to encapsulate it all in > objects, the zoom function behaves very strange. > > After I load the map zooming with the scroll wheel, double clicking on > the map and clicking on the "+" of the PanZoomBar doesn't work (also the > registered event handlers are not called), clicking in the PanZoomBar or > on the "-" of it change the zoom level like expected. After the first > zoom, the scroll wheel and the "+" of the PanZoomBar also work. Panning > the map with the mouse works all time and registered event handlers are > also called.
You must be very new to the list, since the previous email to yours, sent just 4 hours ago, was the exact same problem. http://openlayers.org/pipermail/users/2009-February/010353.html > I've tested it with 2.7 and trunk. > > The code, that creates the map object is in > > http://bitbucket.org/sttmjoc0/osm-pforzheim-unstable/src/tip/slippy-map/js/ow-slippy-map.js > > Any ideas? > > Cheers, detlef > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
