I am trying to render the kml file having 18000 line string data on OSM map using openlayer HTTP strategy. To render OSM map i am using GeoExt.MapPanel and ExtJS 3.4 viewport. The problem is I am facing the stop running script error on page and in IE8 hang the PC and browser. Thanks... asked 15 Apr '13, 08:15 Bhavin Patel Frederik Ramm ♦ |
The question has been closed for the following reason "Question is off-topic or not relevant" by Frederik Ramm 15 Apr '13, 08:40
You need to set up a database on the server side and make it so that only data for the currently visible map extent is loaded from the database. Asking the browser to handle that amount of data is asking for trouble. Various options exist to do the database loading, one of the simplest probably being FeatureServer. Your question is not OpenStreetMap related - the fact that you are using an OSM base map is not relevant to your problem. Check openlayers.org for OpenLayers help. answered 15 Apr '13, 08:39 Frederik Ramm ♦ |