[OpenLayers-Dev] slow performance when overlay Vector Layer.
cedric.moullet at camptocamp.com
Mon Jan 11 00:42:15 EST 2010
It sounds a little bit strange, since I did something very similar without
having performance problem:
You can have a look here to see the code that draws the route in OL:
On Mon, Jan 11, 2010 at 6:35 AM, dequan chen <cdqrain at gmail.com> wrote:
> hi all,
> my server side return navigation route to client and should draw the route
> on OL. The route contains more than a thousand points, but the OL draw the
> line very very slow, and nearly can not work. At first, i think the client
> should take many times to receive the data. but, I've test it that it only
> takes less than 10s. after receive data and start to draw route, the browser
> can anyone help me, how to slove the problem. thanks.
> PS: I split the route into dozens of segments. at client side, I construct
> the every segment route with LineString, and addFeature to VectorLayer.
> Dev mailing list
> Dev at openlayers.org
CTO Geospatial Camptocamp SA
www.camptocamp.com / www.mapfish.org / twitter.com/cedricmoullet /
+41 79 759 69 83 (mobile)
+41 21 619 10 21 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev