Inherits from UIView
Declared in PARPoiLabelTemplate.h
PARPoiLabelTemplate.mm

Overview

@class PARPoiLabelTemplate @brief template for how a marker is styled and rendered

  1. use PARPoiLabelTemplate as base class for a view in Interface Builder
  2. use Interface Builder to design how your arObjects should look
  3. make all necessary reference connections
  4. save to a *.xib file and load it as a PARPoiLabelTemplate
  5. pass loaded template to any PARPoiLabel you create

@remarks more info at https://github.com/doPanic/PanicAR/wiki

Tasks

Class Methods

loadMarkerTemplate:

@brief load a Marker Templated from a XIB file

+ (PARPoiLabelTemplate *)loadMarkerTemplate:(NSString *)xibFilename

Parameters

xibFilename

name of the marker template xib file

Discussion

@brief load a Marker Templated from a XIB file

Declared In

PARPoiLabelTemplate.h

setAppearanceRange:andFarRange:

@brief ranges for calculating appearance effects

+ (void)setAppearanceRange:(float)closeRange andFarRange:(float)farRange

Parameters

closeRange

if poi label is closer than closeRange no effects will be applied

farRange

animation of effects stops at farRange @remarks defaults to close = 500 meters and far = 100 kilometers @remarks the defaul poi label template fades out over distance and gets smaller; implement your own effects in a sub-class

Discussion

@brief ranges for calculating appearance effects

Declared In

PARPoiLabelTemplate.h