I have a map in which a moving marker is placed to represent a vehicle. I am using
setCoordinate() method to move the marker.
I need to set the center of the map to the position of the vehicle marker whenever the marker reaches any one of the four boundaries of map. How do I know that the marker is at the boundary in order to set the center of the map and set the center whenever it is at the boundary.