URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       Mobile AR Framework Support Forum
  HTML https://mobilear.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Outdoor AR Library
       *****************************************************
       #Post#: 16--------------------------------------------------
       map icon based on scene?
   DIR By: alia
       Date: December 26, 2012, 10:30 pm
       ---------------------------------------------------------
       Hi all ..
       i m not really clear how to use this function?
       iconSource.getIcon(sceneCategory)
       i want to assign icon in map view according to scene. Not only 1
       icon for all scenes. thanks :)
       #Post#: 20--------------------------------------------------
       Re: map icon based on scene?
   DIR By: hitlabnz
       Date: January 8, 2013, 3:51 pm
       ---------------------------------------------------------
       The OAMapComponentBase by default uses OAIconSource class to
       asks the DataManager which icon to use to show the scene on the
       map based on the category of the scene.
       This is done by calling the getIcon() method of the DataManager
       which returns a drawable from the file in the OutdoorAR/icons
       folder (either in the assets or the external storage, depending
       on which DataManager class you are using.)
       The icons in the OutdoorAR/icons folder should be png files
       named with the category. (e.g. CategoryA.png)
       If you want to override this default behavior (picking icons
       from OutdoorAR/icons folder based on the category of the scene),
       you can provide your own icon source extended from the
       OAIconSourceBase class by overriding the setupIconSource()
       method in OAMapComponentBase class.
       *****************************************************
       Page 1 of 1