Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.road_events_layer
Interface StyleProvider
interface StyleProvider
Summary
Methods
Type and modifiers |
Method and Description |
boolean |
provideStyle(@NonNull RoadEventStylingProperties roadEventStylingProperties, |
provideHighlightCircleStyle(boolean isNightMode, |
Methods
provideStyle
@UiThread |
Provide style for given road event.
Must produce same style for same input arguments.
Parameters |
|
|
Scale factor of a map window displaying this road event. Road event icon image scale factor must match this value. |
Returns |
|
provideHighlightCircleStyle
@UiThread @Nullable |