I was wondering if it's possible to and how to go about extending or changing the Radar's POI draw method in the Java Script within the Wikitude JS examples.
1) How can I change how the radar's poi's, which are currently dots at a radial range, to be displayed as something different with possible additional poi labels (once the radar is scaled up)?
2) How could I change the function in how they are radially positioned and at what compass position?
Can I overload any class functions etc. and/or inherit AR.radar to a new class etc?
Thank you in advance.
Unfortunately, there are no plans to extend the AR.radar's feature set in the near feature
Is there as code sample that gives me an idea how to do this?
Unfortunately, the AR.Radar is a special component only available in the JS environment.
I recommend you to implement your own custom View component and put it on top of the AR-View in your application.
You can process POI positions as well as device orientation independent from the AR environment and apply your custom data visualization techniques for locations.
Please have a look at the sample application
You may e.g. replace the "radarCircle" with an ImageDrawable, and you're done.
Hope this helps.
Adjustments of the viewing angle aren't possible at the moment.
Features are restricted to the JS documentation. You may customize visualization of the points as well as the radar itself.
Can you please explain in more details on what you wish to change in regards to the display of the radar - including an image / description of how you wish to represent the POIs in the radar.
Thx and greetings