Exact code to load POI from local resource wikitude

127 views Asked by At

As i am using folllowing code to load POI fro local

requestDataFromLocal: function requestDataFromLocalFn(lat, lon) {

  var poisNearby = Helper.bringPlacesToUser(myJsonData, lat, lon);
  World.loadPoisFromJsonData(poisNearby);

  /*
  For demo purpose they are relocated randomly around the user using a 'Helper'-function.
  Comment out previous 2 lines and use the following line > instead < to use static values 1:1.
  */

  //World.loadPoisFromJsonData(myJsonData); This line show only one POI

 }

};

And I am also seeking help to reload POI from local

1

There are 1 answers

2
Andi F. On

Use callCavaScript to pass information to JS environment and urlListener (document.location = "architectsdk://") to pass information to native code.

Have a look at these samples for more Information

Best regards