[OpenLayers-Dev] Feature disappears when zoom in to the last level on IE

Andreas Hocevar ahocevar at opengeo.org
Mon Jan 26 13:32:51 EST 2009


Hi,

On Mon, Jan 26, 2009 at 1:49 PM, Albert Rovira <arovira at ngeografics.com> wrote:
> Hi,
>
> I have a line feature that disappears when I zoom-in to the last level
> of the map. It only happen on IE browsers on FF works well.
>
> I build a test with
> http://www.openlayers.org/dev/examples/vector-formats.html
>
> I modify the relative URL to absolute and added a PanZoomBar control.
> Then I added a feature with WKT:
>
>
> LINESTRING(2.8232342584766705 41.982597569578594, 2.820341683261403
> 41.98207671395145, 2.816577742220418 41.98299154728675,
> 2.8127958348737487 41.982363852836976, 2.810765642331356
> 41.9826643456329, 2.8038665809483576 41.98210342460008,
> 2.8006685785364467 41.98142897729179, 2.7957817433901564
> 41.985629131861195, 2.7931406964544774 41.98695122174946,
> 2.794021045433037 41.988199836989594, 2.7926017072839304


Yes, please post the whole linestring. I suspect that your line is a
very long one, covering a huge distance on the globe. We have fixed a
similar issue in the SVG renderer, but the VML renderer (the one that
IE uses) did not show any misbehavior with our test data. So if you
provide the whole test geometry, we can check what is wrong here.

Just some background information: issues like that occur because the
renderer needs a coodinate space, which is very large at high
resolutions (because we don't want to lose accuracy). SVG (at least in
FF) has a known limitation in significance of coordinate numbers, and
in SVG we have worked around this limitation by clipping the geometry.

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Dev mailing list