OpenStreetMapLayer constructor

OpenStreetMapLayer()

Creates an OpenStreetMap layer from the default OpenStreetMap servers.

Implementation

factory OpenStreetMapLayer() {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_OpenStreetMapLayer_create(
      errorHandler,
    );
  });
  return Layer._instanceCache.instanceWith(handle);
}