Skip to main content
←API Reference ←com.nianticspatial.nsdk

LocalizationTarget

A real-world point of interest that is a target for VPS localization.

Declaration​

data class LocalizationTarget

Constructors​

constructor(identifier: String, center: LatLng, name: String, hintImageUrl: String, defaultAnchorPayload: String)

Parameters​

NameTypeSummary
identifierString
-
centerLatLng
-
nameString
-
hintImageUrlString
-
defaultAnchorPayloadString
-

Properties​

NameTypeSummary
centerLatLng
-
defaultAnchorPayloadString
Deprecated. An anchor payload is no longer the preferred method to identify the map to localize against: pass a site ID to Vps2Session.localize or a coordinate to its lat/long overload.
hintImageUrlString
-
identifierString
-
nameString
-