Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::MarkerHit Class Reference

Information about a marker the user has tapped or clicked on. More...

Public Member Functions

MarkerData marker ()
 Data about the marker. More...
 
void marker_set (MarkerData val)
 
vec2d screenPoint ()
 The point on the screen (in pixels) where the tap or click occurred. More...
 
void screenPoint_set (vec2d val)
 
vec2d markerPoint ()
 The point on the marker (in pixels) where the tap or click occurred. More...
 
void markerPoint_set (vec2d val)
 

Public Attributes

string mapName
 The name of the map the marker belongs to. More...
 

Detailed Description

Information about a marker the user has tapped or clicked on.

Member Function Documentation

MarkerData AltusUnified::MarkerHit::marker ( )

Data about the marker.

void AltusUnified::MarkerHit::marker_set ( MarkerData  val)
vec2d AltusUnified::MarkerHit::markerPoint ( )

The point on the marker (in pixels) where the tap or click occurred.

void AltusUnified::MarkerHit::markerPoint_set ( vec2d  val)
vec2d AltusUnified::MarkerHit::screenPoint ( )

The point on the screen (in pixels) where the tap or click occurred.

void AltusUnified::MarkerHit::screenPoint_set ( vec2d  val)

Member Data Documentation

string AltusUnified::MarkerHit::mapName

The name of the map the marker belongs to.