I would like to show a polygon in OpenLayers. The polygon was defined in 3 KML files with difference level of detail, ie:
- Low Resolution KML (with 100 points)
- Medium Resolution KML (with 1000 points)
- High Resolution KML (with 10000 points)
First, I created 3 vector layers for each KML file with difference max and min resolution, ie:
- minRosolution: 0.0001716, maxResolution: 0.0004000
- minRosolution: 0.0000429, maxResolution: 0.0001716
- minRosolution: 0.0000000, maxResolution: 0.0000429
Then added those vector layers into openlayer list. It works but OpenLayers is not usable until the whole KML is being loaded. Hence, I would like to improve it by making the loading process for Medium and High resolution KML in the background. Is it possible?