[OpenLayers-Users] regarding vector layers

Mapmaker bmcbride at chacompanies.com
Tue Mar 30 10:19:04 EDT 2010


http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#WhatisthemaximumnumberofCoordinatesFeaturesIcandrawwithaVectorlayer
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#WhatisthemaximumnumberofCoordinatesFeaturesIcandrawwithaVectorlayer 

A 160MB KML file will no-doubt crash your user's browser!  The limit is not
with OL, it's a browser limitation trying to handle way too many DOM
objects.

Some alternatives include...

- Breaking up the single large kml into multiple smaller kml's and loading
them at different zoom levels
- Loading the data into a database and using a script to fetch only the
markers you need (via BBOX)
- Using GeoServer to serve the data via WFS or WMS

BRYAN
-- 
View this message in context: http://n2.nabble.com/regarding-vector-layers-tp4822735p4824741.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list