[OpenLayers-Users] LineString in Vectorlayer doesn't get rendered in Firefox

Armin arminus at gmail.com
Mon Jul 2 04:26:05 PDT 2012


2012/7/2 Andreas Hocevar <ahocevar at opengeo.org>

> This is probably because your feature spans a very large area of the
> world. Firefox has a limited range of coordinate values, so there is
>

My test case is just ~ 1.5km of routing with ~ 28 lat/lon tuples. And as it
turns out, calling the same callback from another function on my site works
ok (the PolyLine and everything else is initialized identically as far as I
can tell).

some extra logic in the SVG renderer to split geometries, which does
> not catch all cases. As a workaround, you may want to try the Canvas
> renderer instead.
>

by passing
renderers: ["Canvas", "SVG", "VML"]
to the new OpenLayers.Feature.Vector right ?

Doesn't make a difference.

Armin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120702/50900530/attachment.html>


More information about the Users mailing list