Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Wikitude SDK (Android, iOS, UWP)
Wikitude SDK Questions or Problems
How I can filter the POI´s with a select option.
A
Andrés Sanz
started a topic
over 8 years ago
How I can filter the POI´s with a select option.
2 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
A
Andrés Sanz
said
over 8 years ago
Hi
I want to filter de POI´s with a select option by categories like "Food, Movies, Parks, etc.". I used an switch statement like this:
var poiSelected = "data from select"
switch (poiSelected) {
case "val 1":
World.loadPoisFromJsonData("Array1");
break;
case "val 2":
World.loadPoisFromJsonData("Array2");
break;
case "val 3":
World.loadPoisFromJsonData("Array3");
break;
}
But when i change the code with the switch statement the POI´s not showing.
Photo with select option.
A
Andreas Fötschl
said
over 8 years ago
Hi there!
Filtering an array accordingly is not part of the Wikitude AR part, but more of a general JavaScript question.
Please use
e.g. stackoverflow
for that kind of questions.
Kind regards,
Andreas
Login
or
Signup
to post a comment
More topics in
Wikitude SDK Questions or Problems
Instatiation of WTArchitectView compile errors
Point of interest - native iOS
Slider
Camera lagging / slow in native Swift application
Create a web service
N-th ImageDrawable not displayed
Radar Example
stop defaultlocationmanager and use architectview.injectlocation ios 10
WTC Size Limit
AngularJS and wikitude
See all 3870 topics
© 2021 Wikitude, a Qualcomm company
Andrés Sanz