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