[OpenLayers-Users] Re: How to Optimize the Display of Large KML files in OpenLayers?

Rossko rossko at culzean.clara.co.uk
Wed Nov 23 15:02:07 EST 2011


 >at this site: http://gis.zgroks.com/bbigm.html I am able to display the
same KML file very rapidly using the Google Maps JavaScript API V 3

Here's what Google does for the 'KmlLayer' feature of their v3 API : the KML
url is sent to Google's servers, KML source is retrieved by them, and
rendered into image tiles there.  The client API only requests a dozen or so
tiles, all the intensive processing is done at Google's powerful servers and
none at the client side.
(As a bonus this process gets around same-domain XML restrictions as well.)

To get the same performance, you need some server-side service to remotely
process and render your KML as, say, a WMS.  I think you may be able to do
that with Mapserver? 

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-Optimize-the-Display-of-Large-KML-files-in-OpenLayers-tp7024496p7025913.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list