[OpenLayers-Users] Vector disappears when zooming in (sometimes)
Tommy74
tommy.niittula at nethouse.se
Sat Nov 21 08:51:18 EST 2009
Hi!
Thanks for you answer Andreas!
What does "renderer runs out of coordinate space" really mean? Is there a limitation in OpenLayers/VML or is this a common GIS-"feature"? Can it be fixed or is it possible to do a simple workaround?
The vector data is not a static file, but is created as GeoJSON on the server in my real application, but that's a custom geojson generator, not a WFS or FeatureServer. Unfortunately there is no time to change the type of datasource at the moment. The goal is to serve the data from WMS instead (in a later version), since its a lot of data. The example that I linked to is a reduced geometry.
Regards,
Tommy
________________________________
Från: Andreas Hocevar-2 [via OSGeo.org] [ml-node+4042098-280672575 at n2.nabble.com]
Skickat: den 21 november 2009 10:33
Till: Tommy Niittula
Ämne: Re: [OpenLayers-Users] Vector disappears when zooming in (sometimes)
Hey-
things like this can happen when the renderer (VML in your case) runs
out of coordinate space. If you can serve your vector data through
something that supports a BBOX filter (i.e. e.g. a WFS or FeatureServer,
but not a static file), you can use a BBOX strategy on your vector layer
to avoid the issue.
Regards,
Andreas.
Tommy74 wrote:
> Hi
>
> I'm trying to draw a long linestring on a map. On IE7 the line disappears on
> the southern end when zooming in max. But on the northern end the line is
> still there. Is it a bug or have I done something wrong?
>
>
> http://n2.nabble.com/file/n4040736/Tutorial2.html Tutorial2.html
> http://n2.nabble.com/file/n4040736/Route.js Route.js
>
> Since I have an internal WMS the background will not be visible for you but
> you should be able to see the linestring that is read from Route.js-file.
>
> Thanks in advance
>
> /Tommy
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4042098&i=0>
http://openlayers.org/mailman/listinfo/users
________________________________
View message @ http://n2.nabble.com/Vector-disappears-when-zooming-in-sometimes-tp4040736p4042098.html
To unsubscribe from Vector disappears when zooming in (sometimes), click here< (link removed) =>.
--
View this message in context: http://n2.nabble.com/Vector-disappears-when-zooming-in-sometimes-tp4040736p4042647.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091121/e176d162/attachment.html
More information about the Users
mailing list