Home > @magiclane/maps-sdk > MapViewPreferences > setMapStyleByPath
MapViewPreferences.setMapStyleByPath() method
Set map view style by content path
Signature:
setMapStyleByPath(path: string, smoothTransition?: boolean): void;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
path |
string | |
|
smoothTransition |
boolean |
(Optional) |
Returns:
void