_DBrowser Class Reference
| Inherits from | UIView | 
|---|---|
| Conforms to | CLLocationManagerDelegate UIGestureRecognizerDelegate renderProtocol | 
| Declared in | 3DBrowser.h | 
  delegate
	3D Browser delegate instance
@property (weak, nonatomic) id<EDBrowserProtocol> delegateDeclared In
3DBrowser.h
– initBrowser:withKey:setDebug:representation:
	Init 3D Browser instance
- (id)initBrowser:(CGRect)frame withKey:(NSString *)key setDebug:(BOOL)isDebug representation:(poiRepresentation)representationParameters
| frame | 3D Browser frame | 
|---|---|
| key | license key provided | 
| isDebug | display debug logs | 
| representation | POI representation | 
Return Value
3D Browser instance
Declared In
3DBrowser.h
– setUrlConnections:displayLoading:
	Set the connection type to retrieve selection and non selection textures
- (void)setUrlConnections:(connType)connectionType displayLoading:(BOOL)loadingParameters
| connectionType | SYNC or ASYNC. Default ASYNC. | 
|---|---|
| loading | Whether to display or not a loading while loading the textures ASYNC. Default NO. | 
Declared In
3DBrowser.h
– add:
	Adds POI
- (NSInteger)add:(Poi *)poiParameters
| poi | POI to be added | 
|---|
Return Value
uId of the Poi added
Declared In
3DBrowser.h
– updateLocation:
	Update user location in order to display the POIs accordingly
- (void)updateLocation:(CLLocation *)newuserLocationParameters
| newuserLocation | New user location | 
|---|
Declared In
3DBrowser.h
– updateUserLocation:
	Update user cardinal location in order to display the POIs accordingly
- (void)updateUserLocation:(CGPoint)newuserLocationcParameters
| newuserLocationc | New user location | 
|---|
Declared In
3DBrowser.h
– setMotionManager:
	Set motion manager
- (void)setMotionManager:(CMMotionManager *)mParameters
| m | motion manager instance | 
|---|
Declared In
3DBrowser.h
– remove:
	Remove POI
- (BOOL)remove:(Poi *)poiParameters
| poi | POI to be removed | 
|---|
Return Value
YES if Poi successfuly removed
Declared In
3DBrowser.h
– getPoi:
	Get POI
- (Poi *)getPoi:(NSInteger)uIdParameters
| uId | Unique id of the POI to retrieve | 
|---|
Return Value
Declared In
3DBrowser.h
– addPoleIcons
	Add reference icons in the 4 main cardinal points
- (void)addPoleIconsDeclared In
3DBrowser.h
– removePoleIcons
	Remove cardinal points reference icons
- (BOOL)removePoleIconsReturn Value
YES if successfully remove, NO otherwise
Declared In
3DBrowser.h
– setPoiSize:
	Set POI size
- (void)setPoiSize:(Poi *)inPoiParameters
| inPoi | poi to change size. | 
|---|
Declared In
3DBrowser.h
– refreshPoiTextures:
	Refresh poi texture Use this function to change the texture on run time.
- (void)refreshPoiTextures:(Poi2D *)inPoiParameters
| inPoi | poi to refresh texture. | 
|---|
Declared In
3DBrowser.h
– refreshPoiAlpha:
	Refresh poi alpha Use this function to change the alpha of a poi on run time.
- (void)refreshPoiAlpha:(Poi2D *)inPoiParameters
| inPoi | poi to refresh texture. | 
|---|
Declared In
3DBrowser.h
– spin3DPOI:
	Rotate 3D POI
- (void)spin3DPOI:(UIPanGestureRecognizer *)recognizerParameters
| recognizer | pan gesture | 
|---|
Declared In
3DBrowser.h
– setPoiSelectionModel:withPOICamera:withAnimMode:withAnimSpeed:followPath:
	Set a selection model. he selection model is a POI that moves from the old selected POI to the new selected one.
- (BOOL)setPoiSelectionModel:(NSString *)modelPath withPOICamera:(poi_camera)poiCam withAnimMode:(animationMode)animMode withAnimSpeed:(NSInteger)animSpeed followPath:(BOOL)followPathParameters
| modelPath | 3D POI model path | 
|---|---|
| poiCam | @link poi_camera type | 
| animMode | @link animationMode type | 
| animSpeed | animation speed | 
| followPath | if YES, the transition POI follows the 3D rect between old and new selected POIs. If NO, just moves from old POI’s position to new POI’s position. | 
Return Value
BOOL YES if selection POI properly configured, NO otherwise.
Declared In
3DBrowser.h
– removePoiSelectionModel
	Remove selection model
- (BOOL)removePoiSelectionModelReturn Value
BOOL: YES if selection POI properly removed, NO otherwise
Declared In
3DBrowser.h
– setSelectionAnimationMode:
	Set selection POI animation Mode
- (void)setSelectionAnimationMode:(animationMode)animModeParameters
| animMode | @link animationMode type | 
|---|
Declared In
3DBrowser.h
– setSelectionPoiCam:
	Set selection POI camera Mode
- (void)setSelectionPoiCam:(poi_camera)poiCamParameters
| poiCam | @link poi_camera type | 
|---|
Declared In
3DBrowser.h
– setSelectionPoiSpeed:
	Set selection POI speed
- (void)setSelectionPoiSpeed:(NSInteger)animSpeedParameters
| animSpeed | from fast (1) to slow (10) | 
|---|
Declared In
3DBrowser.h
– setSelectionPoiFollowPath:
	Set whether the selection POI follows the 3D rect (path) between POIs
- (void)setSelectionPoiFollowPath:(BOOL)followPathParameters
| followPath | YES to follow the path, NO otherwise | 
|---|
Declared In
3DBrowser.h
– stopAnimation:
	Stop 3D POI animation
- (void)stopAnimation:(Poi3D *)inPoiParameters
| inPoi | poi | 
|---|
Declared In
3DBrowser.h
– playAnimation:withName:
	Play 3D POI animation
- (void)playAnimation:(Poi3D *)inPoi withName:(NSString *)animNameParameters
| inPoi | poi | 
|---|---|
| animName | animation name | 
Declared In
3DBrowser.h