added leaflet support (not finished yet)