Start a new topic

setLocation from flutter

I am trying to adjust one of the provided samples so it uses the device's gps location. To achieve that, I have implemented a third party plugin, which is providing the necessary arguments. Yet I do not know how to exactly call the setLocation-method from within the flutter app.


I have not found a thread tackling that problem, if you have one in mind I am happy to have a look since I am sure that I am not the first to have an issue with this.


Thanks in advance!


Hi,


A reason for moving POIs can be due to the compass values that are fed to the SDK. If these are inaccurate or change the POIs move with it. Please make sure to test also outside and not near metal to see if this improves the behavior.


Greetings

Nicola

Seems like I am still kind of stuck.

I am using the sample '09_ObtainPoiData_2_FromLocalResource' and have modified the myjsondata.js so it displays a marker exactly at my location as this:

var myJsonData = [{
"id": "1",
"longitude": "128.7347174",
"latitude": "-15.7819525",
"altitude": "100.0",
"name": "POI#1"
}];


The objects still spawn multiple times and move with me. I expected them to stay at the given location.

Am I missing something?

Any help is much appreciated!


this.architectWidget.setLocation(...)


whoops

Login or Signup to post a comment