I still continuing making my app using Titanium and Wikitude, using the differents examples
Now I face another problem. I succeed in adding a radar.
I have more than 300 POIs. At the first load, all my POI is displayed, which is very too much on the screen.
So I want :
1. to limit the default range at the first load
2. to put a max range on the slider so the users will never be able to have all the POIs (it is useless)
Many thanks to all who will give me the answer...
Thanks
M
Martin Lechner
said
about 9 years ago
Hi Phil,
An example on how to limit the range is available on Github. Pleasr follow along with these examples to understand what options you have.
You can either limit the number of POIs returned from the server, or filter them specifically on the client. The way to use, and the implementation, is up to you and your usecase, the Github example is a suggestion how to do it.
The first line sets the range (in meters) where POIs are visible in the camera field, the second line sets the range in which POIs are visible in the radar.
Phil Phil