Start a new topic

Can't see POIs

Can't see POIs


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

 

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>


 

 

 

 
Login or Signup to post a comment