Map constructor

Map({
  1. Key? key,
  2. required double latitude,
  3. required double longitude,
  4. required double zoom,
  5. required double tilt,
  6. required double bearing,
  7. required double orbitTilt,
  8. required double orbitRange,
  9. MapType mapType = MapType.none,
  10. Set<Polyline> polylines = const {},
  11. String? kmlName,
  12. LatLngBounds? bounds,
  13. int boost = 0,
  14. bool canOrbit = true,
  15. MinMaxZoomPreference minMaxZoomPreference = MinMaxZoomPreference.unbounded,
})

Implementation

Map(
    {super.key,
    required this.latitude,
    required this.longitude,
    required this.zoom,
    required this.tilt,
    required this.bearing,
    required this.orbitTilt,
    required this.orbitRange,
    this.mapType = MapType.none,
    this.polylines = const {},
    this.kmlName,
    this.bounds,
    this.boost = 0,
    this.canOrbit = true,
    this.minMaxZoomPreference = MinMaxZoomPreference.unbounded});