LatLngInfo.position constructor

LatLngInfo.position(
  1. LatLng latLng,
  2. MarkerId markerId, {
  3. double bearing = 0,
  4. bool isStopover = false,
  5. bool ripple = false,
  6. double mapScale = 0.5,
  7. Map<String, dynamic> markerJson = const {},
})

Implementation

LatLngInfo.position(
  LatLng latLng,
  this.markerId, {
  this.bearing = 0,
  this.isStopover = false,
  this.ripple = false,
  this.mapScale = 0.5,
  this.markerJson = const {},
})  : isEmpty = false,
      latitude = latLng.latitude,
      longitude = latLng.longitude;