Hi,

I realized that the box I draw is always within the max extent bounds
horizontally, not inside a tile as a I said before. The box can go up and
down as much as I want (as long it is on top of the map).

Any idea?

Thanks

2010/12/28 Fernando Barbat <[email protected]>

> Hi,
>
> I have three layers: a Google Maps layer at the bottom, a WMS layer in the
> middle, and a vector layer where I want to draw a polygon on top.
> I'm using DrawFeature control, with a RegularPolygon handler with four
> sides and irregular = true.
> When I click and drag, the created box doesn't follow the mouse cursor. It
> looks like it tries to be inside a tile, moving around not as expected.
> I found this post taking about a similar problem:
> http://www.mail-archive.com/[email protected]/msg03749.html
> However, it wasn't helpful as I'm using Spherical Mercator on Google Maps
> and the problem still shows up.
>
> If I use a BoxHandler everything is ok.
> Any idea?
>
> Thanks.
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to