leafletjs map prototype