MPPoint.withCoordinates constructor

MPPoint.withCoordinates({
  1. required num longitude,
  2. required num latitude,
  3. int? floorIndex,
})

Createa a MPPoint from a set of latitude/longitude coordinates and an optional floorIndex

Implementation

MPPoint.withCoordinates(
    {required num longitude, required num latitude, int? floorIndex}) {
  this.longitude = longitude;
  this.latitude = latitude;
  _floorIndex = floorIndex;
}