colors top-level property

Map<MarkerColor, BitmapDescriptor> colors
getter/setter pair

Colours map that returns the colour of the marker

Implementation

Map<MarkerColor, BitmapDescriptor> colors = {
  MarkerColor.red:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueRed),
  MarkerColor.green:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueGreen),
  MarkerColor.blue:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueBlue),
  MarkerColor.orange:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueOrange),
  MarkerColor.yellow:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueYellow),
  MarkerColor.cyan:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueCyan),
  MarkerColor.azure:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueAzure),
  MarkerColor.rose:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueRose),
  MarkerColor.magenta:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueMagenta),
  MarkerColor.violet:
      BitmapDescriptor.defaultMarkerWithHue(BitmapDescriptor.hueViolet),
};