mapStylePath property

String get mapStylePath

Get the current map view style path.

Returns the file path or logical path of the currently applied map style. This can be used to identify which style asset is active.

Returns

  • (String) The current map view style path.

See also:

Implementation

String get mapStylePath {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewPreferences',
    'getMapStylePath',
    dependencyId: _mapPointerId,
  );

  return resultString['result'];
}