leaflet map change bounds to markers code example Example: leaflet circle get bounds var center = L.latLng(40,-3); var bounds = center.toBounds(500);