Basemap constructor

Basemap()

Creates a basemap. Layers need to be added to the basemap before it can be used.

Implementation

factory Basemap() {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Basemap_create(errorHandler);
  });
  return Basemap._instanceCache.instanceWith(handle);
}