carModelByPath property

set carModelByPath (String filePath)

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:

Implementation

set carModelByPath(final String filePath) {
  objectMethod(
    _pointerId,
    'MapViewPreferences',
    'setCarModelByPath',
    args: filePath,
    dependencyId: _mapPointerId,
  );
}