MapObjectDescriptor
public class MapObjectDescriptor
extension MapObjectDescriptor: NativeBase
extension MapObjectDescriptor: Hashable
Interface represents descriptor of a pickable map object.
-
Returns the name of the layer where this picked item came from.
Declaration
Swift
public func getLayerName() -> StringReturn Value
The name of the layer map object belongs to.
-
Returns data attributes of a map object.
Declaration
Swift
public func getDataAttributes() -> DataAttributesReturn Value
The data attributes of a map object.
-
Return a geo point of the picked object, closest to the picking location. For polygons and polylines
nilis returned.Declaration
Swift
public func getClosestPoint() -> GeoCoordinates?Return Value
The coordinates of a map object.