carModelByPath property
Set the car model by file path.
Configures a custom 3D car model for display during navigation or position tracking mode. The model file should be in a supported 3D format (check SDK documentation for supported formats).
Parameters
filePath: (String) The path to the car model file.
See also:
- followPositionPreferences - Configure follow position behavior.
Implementation
set carModelByPath(final String filePath) {
objectMethod(
_pointerId,
'MapViewPreferences',
'setCarModelByPath',
args: filePath,
dependencyId: _mapPointerId,
);
}