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

The data required to create a marker. More...

Public Member Functions

 MarkerData ()
 
 MarkerData (Marker marker)
 
 MarkerData (uint uid, double latitude, double longitude, double altitude, float weight, string metadata, Texture texture)
 
MarkerData duplicate ()
 
GeographicPosition location ()
 
void location_set (GeographicPosition val)
 
vec2d anchorPoint ()
 
void anchorPoint_set (vec2d val)
 
vec2i hitTestSize ()
 
void hitTestSize_set (vec2i val)
 
vec2d offset ()
 
void offset_set (vec2d val)
 

Public Attributes

uint uid
 The marker ID More...
 
float weight
 A value that determines how important this marker is when clusterming in the ClusterMarkerMap More...
 
int minimumLevel
 The minimum level where this marker will be visible More...
 
string metadata
 The marker name More...
 
TexturePtr texture
 The marker image More...
 
double rotation
 The rotation, in degrees More...
 
MarkerRotationType rotationType
 What the marker is rotated with respect to More...
 

Detailed Description

The data required to create a marker.

Constructor & Destructor Documentation

AltusUnified::MarkerData::MarkerData ( )
AltusUnified::MarkerData::MarkerData ( Marker  marker)
AltusUnified::MarkerData::MarkerData ( uint  uid,
double  latitude,
double  longitude,
double  altitude,
float  weight,
string  metadata,
Texture  texture 
)

Member Function Documentation

vec2d AltusUnified::MarkerData::anchorPoint ( )
void AltusUnified::MarkerData::anchorPoint_set ( vec2d  val)
MarkerData AltusUnified::MarkerData::duplicate ( )
vec2i AltusUnified::MarkerData::hitTestSize ( )
void AltusUnified::MarkerData::hitTestSize_set ( vec2i  val)
GeographicPosition AltusUnified::MarkerData::location ( )
void AltusUnified::MarkerData::location_set ( GeographicPosition  val)
vec2d AltusUnified::MarkerData::offset ( )
void AltusUnified::MarkerData::offset_set ( vec2d  val)

Member Data Documentation

string AltusUnified::MarkerData::metadata

The marker name

int AltusUnified::MarkerData::minimumLevel

The minimum level where this marker will be visible

double AltusUnified::MarkerData::rotation

The rotation, in degrees

MarkerRotationType AltusUnified::MarkerData::rotationType

What the marker is rotated with respect to

TexturePtr AltusUnified::MarkerData::texture

The marker image

uint AltusUnified::MarkerData::uid

The marker ID

float AltusUnified::MarkerData::weight

A value that determines how important this marker is when clusterming in the ClusterMarkerMap