ArcgisMap constructor

const ArcgisMap({
  1. required String apiKey,
  2. required LatLng initialCenter,
  3. required double zoom,
  4. required MapStyle mapStyle,
  5. BaseMap? basemap,
  6. bool showLabelsBeneathGraphics = false,
  7. List<DefaultWidget> defaultUiList = const [],
  8. bool isPopupEnabled = false,
  9. Ground? ground,
  10. bool isInteractive = true,
  11. ViewPadding padding = const ViewPadding(),
  12. bool rotationEnabled = false,
  13. double tilt = 0,
  14. double initialHeight = 5000,
  15. double heading = 0,
  16. int minZoom = 2,
  17. int maxZoom = 22,
  18. double xMin = -90,
  19. double xMax = 90,
  20. double yMin = -66,
  21. double yMax = 66,
  22. void onMapCreated(
    1. ArcgisMapController controller
    )?,
  23. List<String>? vectorTileLayerUrls,
  24. 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)),
      );