add leaflet support