referenceBasemapFilename property

String referenceBasemapFilename

The name of a local basemap file which can be used instead of downloading a basemap when taking this map offline.

Supported basemap formats are:

  • .tpk
  • .tpkx
  • .vtpk

The webmap author sets this property to denote an appropriate basemap file. Client code is responsible for ensuring that the basemap has been correctly side-loaded to the device.

This property can be used to inform settings for:

Implementation

String get referenceBasemapFilename {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_OfflineSettings_getReferenceBasemapFilename(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}