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
Can't see POIs
h
hesham algarni
started a topic
over 10 years ago
Can't see POIs
2 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
h
hesham algarni
said
over 10 years ago
Hi
- I'm using WTSimpleARBrowser sample for working on my project . For Wikitude SDK for iOS
- I knew that the maximum no. of POI is 50 .
However, I have a major problem ....I can't see POIs.
Here is my code .....
Here where I take the data from my database and put it in POI class.
NSString *ID =;
NSInteger POIID =;
poi.id = POIID;
poi.name = ;
poi.detailedDescription = ;
poi.type =2;
poi.latitude = latDouble;
poi.longitude =lonDouble;
poi.altitude = 100;
In this way , it will not work.
But , if I pass the value of POI Name , and POI Description in this form , it works .......! and POIs show without names ....!
NSString *ID =;
NSInteger POIID =;
poi.id = POIID;
poi.name = @"";
poi.detailedDescription = @"">;
poi.type =2;
poi.latitude = latDouble;
poi.longitude =lonDouble;
poi.altitude = 100;
- example form XML file that is retrieved from SQL server and is generated by PHP script
<Listing><ListingElement>
<ItemID>33</ItemID>
<ItemName> bbbbb </ItemName>
<Longitude>149.22765100000004</Longitude><Latitude>-35.318352</Latitude></ListingElement>
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
please make sure that your poi name and poi description are not including any special characters which could break the JSON parsing inside the ARchitect World.
You can debug the JS execution by following
this guide
.
Best 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
hesham algarni