Interface AssetsProvider

com.yandex.mapkit.search_layer

public interface AssetsProvider

Interface for providing images, image sizes and icon styles to the search layer.

Methods

IconStyle iconStyle( SearchResultItem searchResult, PlacemarkIconType type)

Returns the icon style for certain placemark type with given search result.

ImageProvider image( SearchResultItem searchResult, PlacemarkIconType type)

Returns image for certain placemark type with given search result.

Size size( SearchResultItem searchResult, PlacemarkIconType type)

Returns the size of the icon of certain placemark type with given search result.

IconStyle iconStyle( SearchResultItem searchResult, PlacemarkIconType type)

Returns the icon style for certain placemark type with given search result.

ImageProvider image( SearchResultItem searchResult, PlacemarkIconType type)

Returns image for certain placemark type with given search result.

Size size( SearchResultItem searchResult, PlacemarkIconType type)

Returns the size of the icon of certain placemark type with given search result.