[OpenLayers-Dev] Problem paning,
zooming and using any editing toolbar in a map
Darko Radiceski
radiceski at gmail.com
Mon May 12 10:52:18 EDT 2008
Fixed it.
I was missing the options parameter in the map initialisation.
Thank you for the prompt response.
Cheers
Dan
On 5/13/08, Alan Boudreault <aboudreault at mapgears.com> wrote:
>
> 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
>
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080513/a0cb74e4/attachment.html
More information about the Dev
mailing list