ArcgisMap constructor
const
ArcgisMap({
- required String apiKey,
- required LatLng initialCenter,
- required double zoom,
- required MapStyle mapStyle,
- BaseMap? basemap,
- bool showLabelsBeneathGraphics = false,
- List<
DefaultWidget> defaultUiList = const [], - bool isPopupEnabled = false,
- Ground? ground,
- bool isInteractive = true,
- ViewPadding padding = const ViewPadding(),
- bool rotationEnabled = false,
- double tilt = 0,
- double initialHeight = 5000,
- double heading = 0,
- int minZoom = 2,
- int maxZoom = 22,
- double xMin = -90,
- double xMax = 90,
- double yMin = -66,
- double yMax = 66,
- void onMapCreated(
- ArcgisMapController controller
- List<
String> ? vectorTileLayerUrls, - Key? key,
Implementation
const ArcgisMap({
required this.apiKey,
required this.initialCenter,
required this.zoom,
required this.mapStyle,
this.basemap,
this.showLabelsBeneathGraphics = false,
this.defaultUiList = const [],
this.isPopupEnabled = false,
this.ground,
this.isInteractive = true,
this.padding = const ViewPadding(),
this.rotationEnabled = false,
this.tilt = 0,
this.initialHeight = 5000,
this.heading = 0,
this.minZoom = 2,
this.maxZoom = 22,
this.xMin = -90,
this.xMax = 90,
this.yMin = -66,
this.yMax = 66,
this.onMapCreated,
this.vectorTileLayerUrls,
super.key,
}) : assert(
basemap != null ||
(vectorTileLayerUrls != null && (vectorTileLayerUrls.length > 0)),
);