adding leafletjs functionality