[OpenLayers-Dev] Problem paning,
zooming and using any editing toolbar in a map
Alan Boudreault
aboudreault at mapgears.com
Mon May 12 10:50:57 EDT 2008
What are the controls you are adding to the map at the moment ? (if you
are not using the exact same page: spherical-mercator.html)
Did you try to add the default mouse control ?
(OpenLayers.Control.MouseDefaults)
Alan
Darko Radiceski wrote:
> Dear all,
>
> I have a div tag:
>
> <
>
> div id="map" style="position:absolute; top:65px; left:250px;
> width:400px; height:400px;"></div>
>
> where a load my maps as described in the spherical-mercator.html example.
>
> The map loads just fine inside. Its just when i try to use the hand
> too do pan around the map does not repond to it. It responds to double
> click and zoom. But it does not respond to dragging. Also just to test
> i added the panzoombar and tried to use the panning from there using
> the little panning triangles. They would not work too. The zoom scroll
> works however.
>
> If i alos try to use the "Hold Shift and drag" to zoom that also works.
>
>
>
> Any suggestions as to why my map is not repondive?
>
> Cheers
>
> Dan
>
>
>
>
>
> --
> Radiceski Darko
> University of Wollongong
> Australia
> SIFE - UOW Chapter - Alumni
> CASUAL ACADEMIC STAFF TEACHING - UOW SITACS
> (School of Information Technology and Computer Science,University of
> Wollongong)
> Univeristy of Wollongong - Alumni
> ------------------------------------------------------------------------
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
--
Alan Boudreault
Mapgears
http://www.mapgears.com
More information about the Dev
mailing list