setNearWithCoordinates method

void setNearWithCoordinates({
  1. required num longitude,
  2. required num latitude,
})

Set the coordinates where the queried target is near

Implementation

void setNearWithCoordinates({required num longitude, required num latitude}) {
  _near = MPPoint.withCoordinates(latitude: latitude, longitude: longitude);
}