MapOptions constructor
MapOptions({
- double? initialLatitude,
- double? initialLongitude,
- String? language,
- double? zoom,
- required String apiKey,
- required String mapStyle,
- double? bearing,
- double? tilt,
- bool? alternatives,
- MapNavigationMode? mode,
- VoiceUnits? units,
- bool? allowsUTurnAtWayPoints,
- bool? enableRefresh,
- bool? voiceInstructionsEnabled,
- bool? bannerInstructionsEnabled,
- bool? longPressDestinationEnabled,
- bool? simulateRoute,
- bool? isOptimized,
- String? mapStyleUrlDay,
- String? mapStyleUrlNight,
- EdgeInsets? padding,
- bool? animateBuildRoute,
- bool? showReportFeedbackButton = true,
- bool? showEndOfRouteFeedback = true,
- 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});