Start a new topic

does radar support ImageDrawable?

does radar support ImageDrawable?


I want to use a plus sign(+) to represent a group of POIs on the radar. I tried ImageDrawable and it does not show, but my code works if it is a AR.Circle. Does radar support ImageDrawable?

I still can't get it working. Any one can help?

please use addRadarDrawables or define radar drawables during creation of an AR.GeoObject

e.g.

var geoObject = new AR.GeoObject(locations, {
  //the function executed when the GeoObject enters the field of vision
  onEnterFieldOfVision : function(){ ... },
  //the function executed when the GeoObject exits the field of vision
  onExitFieldOfVision : function(){ ... },
  drawables : {
cam : , //the drawables representing the GeoObject in the camera view


radar : , //the drawables representing the GeoObject in the radar view

  } });

 

best regards

Thanks, Andreas. I find it's my own problem. Sorry for the post.
Login or Signup to post a comment