JavaScript class for making leaflet maps.