LatLngInfo.marker constructor

LatLngInfo.marker(
  1. Marker marker, {
  2. double bearing = 0,
  3. bool isStopover = false,
  4. bool ripple = false,
  5. double mapScale = 0.5,
})

Implementation

LatLngInfo.marker(
  Marker marker, {
  this.bearing = 0,
  this.isStopover = false,
  this.ripple = false,
  this.mapScale = 0.5,
})  : isEmpty = false,
      latitude = marker.position.latitude,
      longitude = marker.position.longitude,
      markerId = marker.markerId,
      markerJson = marker.toJson() as Map<String, Object>;