MapOptions constructor

MapOptions({
  1. double? initialLatitude,
  2. double? initialLongitude,
  3. String? language,
  4. double? zoom,
  5. required String apiKey,
  6. required String mapStyle,
  7. double? bearing,
  8. double? tilt,
  9. bool? alternatives,
  10. MapNavigationMode? mode,
  11. VoiceUnits? units,
  12. bool? allowsUTurnAtWayPoints,
  13. bool? enableRefresh,
  14. bool? voiceInstructionsEnabled,
  15. bool? bannerInstructionsEnabled,
  16. bool? longPressDestinationEnabled,
  17. bool? simulateRoute,
  18. bool? isOptimized,
  19. String? mapStyleUrlDay,
  20. String? mapStyleUrlNight,
  21. EdgeInsets? padding,
  22. bool? animateBuildRoute,
  23. bool? showReportFeedbackButton = true,
  24. bool? showEndOfRouteFeedback = true,
  25. bool? isCustomizeUI = false,
})

Implementation

MapOptions(
    {this.initialLatitude,
    this.initialLongitude,
    this.language,
    this.zoom,
    required this.apiKey,
    required this.mapStyle,
    this.bearing,
    this.tilt,
    this.alternatives,
    this.mode,
    this.units,
    this.allowsUTurnAtWayPoints,
    this.enableRefresh,
    this.voiceInstructionsEnabled,
    this.bannerInstructionsEnabled,
    this.longPressDestinationEnabled,
    this.simulateRoute,
    this.isOptimized,
    this.mapStyleUrlDay,
    this.mapStyleUrlNight,
    this.padding,
    this.animateBuildRoute,
    this.showReportFeedbackButton = true,
    this.showEndOfRouteFeedback = true,
    this.isCustomizeUI = false});