Важно

This feature is available in the Full MapKit SDK version

YMKPlaces

class YMKPlaces : NSObject

Undocumented

Summary

Instance methods

func createPanoramaService() -> YMKPanoramaService
Creates a service that allows to find a panorama closest to the chosen point

func createPanoramaLayer(with mapWindow: YMKMapWindow) -> YMKPanoramaLayer
Creates a layer representing where panoramas are available

Properties

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

createPanoramaService()

func createPanoramaService() -> YMKPanoramaService

Creates a service that allows to find a panorama closest to the chosen point.


createPanoramaLayer(with:)

func createPanoramaLayer(with mapWindow: YMKMapWindow) -> YMKPanoramaLayer

Creates a layer representing where panoramas are available.


Properties

isValid

var isValid: Bool { get }

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.


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