implement lazy loading for leaflet