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.
The best way to start is to check out the sample app which comes with the SDK download package together with the respective documentation section.
Each section includes a set-up guide, which helps you set up your project and different POI samples which should explain the usage of the SDK and how to change the code.
We don't have specific samples which show how to change the radar scaling / layout. But this is standard js / css coding and also html coding tutorials can help you in this regards.
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
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.
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.
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.
Is there as code sample that gives me an idea how to do this?