mapStylePath property
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:
- setMapStyleByPath - Set map style by path.
- mapStyleId - Get the current style ID.
- ContentStoreItem.fileName - Content store file paths.
Implementation
String get mapStylePath {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'getMapStylePath',
dependencyId: _mapPointerId,
);
return resultString['result'];
}