BasemapStyleParameters constructor

BasemapStyleParameters()

Creates a BasemapStyleParameters that controls how a BasemapStyle is used when constructing a Basemap.

After creating a BasemapStyleParameters object, BasemapStyle preferences, such as language, can be set.

A preference for using global, local, or the system locale language can be set using BasemapStyleParameters.languageStrategy. To define a preference for a specific language, set the BasemapStyleParameters.specificLanguage property to a supported language code.

Implementation

factory BasemapStyleParameters() {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_BasemapStyleParameters_create(errorHandler);
  });
  return BasemapStyleParameters._withHandle(handle);
}