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