Важно

This feature is available in the Full MapKit SDK version

YMKPanoramaIconImageFactory

protocol YMKPanoramaIconImageFactory : NSObjectProtocol

Undocumented

Summary

Instance methods

func load(withIconId iconId: String, scale: Double) -> UIImage?
Called once the icon is visible in view frustum If the icon can't be loaded, empty value must be returned

Instance methods

load(withIconId:scale:)

func load(withIconId iconId: String, scale: Double) -> UIImage?

Called once the icon is visible in view frustum If the icon can't be loaded, empty value must be returned. Scale - scale factor. mdpi: 1.0 , xhdpi: 2.0, etc. If you have image resources for different pixel densities, just ignore this parameter.

This method will be called on a background thread.


Предыдущая
Следующая