Interface UserLocationView

com.yandex.mapkit.user_location

public interface UserLocationView

Use this interface to specify the appearance of the user location icon elements.

Methods

CircleMapObject getAccuracyCircle()

Gets the GPS accuracy circle map object.

PlacemarkMapObject getArrow()

Gets the location arrow map object.

PlacemarkMapObject getPin()

Gets the location pin map object.

boolean isValid()

Tells if this UserLocationView is valid or no.

Method Detail

getAccuracyCircle

public CircleMapObject getAccuracyCircle ()

Gets the GPS accuracy circle map object.

getArrow

public PlacemarkMapObject getArrow ()

Gets the location arrow map object.

getPin

public PlacemarkMapObject getPin ()

Gets the location pin map object.

isValid

public boolean isValid ()

Tells if this UserLocationView is valid or no.

Any other method (except for this one) called on an invalid UserLocationView will throw java.lang.RuntimeException. An instance 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.