[OpenLayers-Dev] Polygon vector inverting during zoom/pan, bug in OL?

Alexei Peters apeters at fargeo.com
Tue Jul 13 13:20:38 EDT 2010


Thanks Andreas,

Here's the link:

http://maps.co.kern.ca.us/AddressLocator/

To find an example of the error, do the following:

   1. Using the find box in the upper right hand corner, search for *320
   Quincy St *and select from the drop down
   2. After the left hand panel populates, click on the link for* CA Senate
   18, *under "Elected Officials > State Senate District"
   3. The map will zoom out to the polygon defined by that district
   4. Center the map on the icon and start zooming in, you'll notice the
   polygon invert once you get to about the 8th level in the zoom bar
   5. If you go to the 9th zoom level the polygon does even more interesting
   things

What I don't understand, is the polygon only gets loaded once (when you
click the link) and looks fine when zoomed out.

Any help would be much appreciated.

Btw: the data is coming from an ESRI REST service and we have a function to
convert from ESRI style geometry to OL style.

Cheers,
Alexei Peters
Farallon Geographics, Inc.



On Mon, Jul 12, 2010 at 11:11 PM, Andreas Hocevar <ahocevar at opengeo.org>wrote:

> Hi,
>
> please provide a minimal, self contained example with just the vector layer
> that shows the issue. We need this for debugging.
>
> Thanks,
> Andreas.
>
> On Jul 12, 2010, at 19:10 , Alexei Peters wrote:
>
> > Hey Everyone,
> > We're wrapping up development of a small app and noticed a strange issue
> with some vector polygons.
> >
> > While zoomed out enough to see the entire polygon everything appears
> normal (http://dl.dropbox.com/u/8668064/Polygon%20normal.JPG).  But after
> I zoom in several steps the polygon appears to invert and then display some
> strange behavior (http://dl.dropbox.com/u/8668064/Polygon%20inverted.JPG).
>  In the images I've just barely panned the map and the polygon will flip
> from normal to inverted.
> >
> > It appears to happen in both FF and IE.
> >
> > Any suggestions on what is going on here?
> >
> > Any help is much appreciated.
> >
> > Cheers,
> > Alexei
> >
> > _______________________________________________
> > Dev mailing list
> > Dev at openlayers.org
> > http://openlayers.org/mailman/listinfo/dev
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100713/e5f10640/attachment.html


More information about the Dev mailing list