leaflet set rectangle bound in layer code example Example: leaflet circle get bounds var center = L.latLng(40,-3); var bounds = center.toBounds(500);