I am trying Leaflet KML plugin as below:
Here is full code:
I have KML file of my whole country that size around 15-20 MB. As the code shows the way I loaded KML, I have a doubt that the map gets downloaded and load full KML of 15-20 MB on user's browser side in one go or the KML loads in chunks as and when user drags to other locations of country. I don't want KML to be loaded entirely in one go and slow down loading at browser side. Is it possible to load in chunks as and when user drags map to other locations of country?