POST
|
I was developing an app in the hope that it would run on Raspberry since I have already compiled Qt for it. However I just read that ArcGIS binaries are only x86. Is there a way for me to compile the project on Raspberry? Thanks,
... View more
05-30-2016
06:56 AM
|
1
|
3
|
3387
|
POST
|
I just copied this code from the sample into mine: Text { text: locationPoint.isEmpty || !locationPoint.valid ? "Invalid Coordinates" : locationPoint.toDegreesMinutesSeconds(2) + (positionSource.position.horizontalAccuracyValid ? " ± " + Math.round(positionSource.position.horizontalAccuracy.toString()) + "m" : "") color: locationPoint.valid ? "white": "red" font { bold: true pointSize: 16 } } And it prints my coordinates correctly
... View more
05-27-2016
10:15 AM
|
0
|
0
|
313
|
POST
|
Yes, it is the plugin that I developed on my own. It works, because it prints a new position every 500ms. I am on Windows 7, Qt 5.6.0 32bit I have tested the sample app provided with the installation of the SDK. The live example fails to get my current position using the default plugin (even though I have it set up on my windows control panel). But the simulated example that uses nmeasource works.
... View more
05-27-2016
10:09 AM
|
0
|
0
|
313
|
POST
|
I have a Map like so: Map { id: basemap focus: true positionDisplay { showPosition: true positionSource: PositionSource { id: positionSrc name: "MyPlugin" updateInterval: 500 //ms onPositionChanged: { console.log("current pos:", position.coordinate.latitude, position.coordinate.longitude); } } ArcGISLocalTiledLayer { path: "./Topographic.tpk" } } I created a PositionSource plugin and it updates fine, printing the new position at every 500ms. However the positionDisplay does not update its mapPoint and does not AutoPan I have even modified the 'mode' property to every possible value: AutoPanModeOff AutoPanModeDefault AutoPanModeNavigation AutoPanModeCompass What is missing? I expected it to zoom in to my location and follow it as latitude and longitude updates inside positionSrc P.S.: If I print basemap.positionDisplay.mapPoint the result is 'null'
... View more
05-27-2016
07:18 AM
|
0
|
4
|
2388
|
Title | Kudos | Posted |
---|---|---|
1 | 05-30-2016 06:56 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|