|
POST
|
cc ArcGIS AppStudio does AppFramework have any helpers for this?
... View more
08-26-2020
06:59 AM
|
2
|
0
|
2366
|
|
POST
|
There is the GeometryEngine distance method and the distanceGeodetic method. Distance will give you simple planar distance and distanceGeodetic will give you a more accurate distance - GeometryEngine QML Type | ArcGIS for Developers Here is an example arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_QMLSamples/Geometry/GeodesicOperations at master · Esri/arcgis-runtime-samp…
... View more
08-26-2020
06:58 AM
|
1
|
0
|
1185
|
|
POST
|
No, I don't understand what you are trying to accomplish.
... View more
08-26-2020
06:55 AM
|
0
|
3
|
5933
|
|
POST
|
AppStudio is based on 5.13 I believe, so you'll need to import an older version. Since I'm not sure which version of Qt maps to which version of QtPositioning, I'd try decreasing until you find a version that works For example, try importing version 5.13. As for how to stop it, you can call the stop method on PostionSource - PositionSource QML Type | Qt Positioning 5.15.0
... View more
08-26-2020
06:54 AM
|
0
|
0
|
1798
|
|
POST
|
You can use Qt's PositionSource type. The LocationDisplay is simply used to display the location on the map. If you just want to get the position from the device, PositionSource will do that for you. PositionSource {
Component.onCompleted: start();
onPositionChanged: console.log("position changed", position.coordinate)
} PositionSource QML Type | Qt Positioning 5.15.0
... View more
08-25-2020
07:27 AM
|
0
|
2
|
1798
|
|
POST
|
100.9 release, which will be released near end of August 2020, will support refresh interval in 3D.
... View more
08-20-2020
01:52 PM
|
0
|
0
|
1370
|
|
POST
|
You can accomplish this by adding a Polygon graphic that has a hole in it. Here is an example where I have a multipart polygon - one part has 4 points and the other has 4 as well. The interior part goes in counter clockwise order and is shown as a hole. This is described in the REST specs a bit for ArcGIS as a whole - Geometry objects—Common Data Types | ArcGIS for Developers MapView {
id: mv
anchors.fill: parent
Map {
BasemapImagery{}
}
GraphicsOverlay {
Graphic {
symbol: SimpleFillSymbol {
color: Qt.rgba(0,0,0,.75);
}
geometry: Polygon {
json: {"rings":[[[-18684976.52965096,13174661.735383898],[11421379.755389877,11822129.922245625],[13775786.985667616,-9517816.462824922],[-18384413.904509123,-8215378.42054362],[-18684976.52965096,13174661.735383898]],[[-1202250.5005673468,3907314.1268438715],[601125.2502836883,4057595.4394147918],[651219.0211406611,5860971.190265823],[-1603000.667423129,5760783.648551878],[-1202250.5005673468,3907314.1268438715]]],"spatialReference":{"latestWkid":3857,"wkid":102100}}
}
}
}
} To keep this code concise, I just defined it in JSON, but you could use the PolygonBuilder class and add several parts to it. Each part should contain points. The order defined will be important for making it topologically sound and display as you desire
... View more
08-19-2020
02:17 PM
|
0
|
6
|
5933
|
|
POST
|
For KML, the spec itself allows you to specify labels via label styles. For KML, we really try to match the spec and what is capable in Google Earth, and don't try to mix ArcGIS features with it (like LabelDefinition) - KML Reference | Keyhole Markup Language | Google Developers - https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-kmllabelstyle.html For example, you should be able to create a KmlPlacemark, set the name and set the style to a KmlLabelStyle, and view the label. As for FeatureCollection, I'm not sure the reason why we don't have it. I think the main requirements came in for persisted feature layers and for temporary graphics, but it seems valid to have them on feature collections as well.
... View more
08-18-2020
11:08 AM
|
1
|
0
|
1593
|
|
POST
|
Hi Brian- Maybe MapView::unitsPerDIP could get you what you need - https://developersdev.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-mapview.html#unitsPerDIP We added this API so users could build a scalebar, which conceptually is very similar to the need you have - to tell how many real-world units are in one device independent pixel. Real-world units will be in whatever the 0th layer in the map is, so if you are using web mercator basemap, it will be meters.
... View more
08-18-2020
10:55 AM
|
0
|
2
|
1196
|
|
POST
|
Hey Brian- Thanks for your email. We are wrapping up 100.9 release right now, so it is a bit hectic. I passed your information onto our senior product managers for their consideration. Hopefully we can either get the KML Ground Overlay 2D issue fixed or Image Overlay in 2D implemented, but that timeline is unknown. What I do know is 100.9 is going to be released in a week or so, but neither of these will be in that release. For the time being, would it be an option to use 3D instead of 2D and orient the camera in a top down manner so it looks 2D?
... View more
08-14-2020
07:55 AM
|
0
|
4
|
1196
|
|
POST
|
Here is the data - https://www.arcgis.com/home/item.html?id=9465e8c02b294c69bdb42de056a23ab1 If possible, could you email me some details about your org, project, requirements, etc? That would help gain justification for getting this running in 2D - [email protected]
... View more
08-10-2020
01:58 PM
|
0
|
7
|
2943
|
|
POST
|
I see. Since that solution was discussed, we released a newer API designed for a very similar use case you are mentioning. It is for the ImageOverlay, which was designed to take real time images from radar/sensors and display rapidly. This currently only works in 3D since that was the initial requirement, but we are aiming to bring this to 2D at some point. Can you try out this sample? You'll need to change the .pro file's runtime version to 100.8, as this is part of our development branch currently (v.next branch) - arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/Scenes/AnimateImagesWithImageOverlay at v.next · Esri/arcgis-run…
... View more
08-10-2020
01:29 PM
|
0
|
9
|
2943
|
|
POST
|
No, I wouldn't say that necessarily. This is just one particular bug we have in our implementation of KML.
... View more
08-10-2020
11:24 AM
|
1
|
11
|
2943
|
|
POST
|
Hi Brian, This is a limitation with GroundOverlays with the currently released software - these properties can be modified but do not show up properly in the MapView. As you noticed with the sample, everything should work as expected in the SceneView.
... View more
08-10-2020
11:08 AM
|
2
|
13
|
2943
|
|
POST
|
I see an issue in your addMarker function. Point's spatialReference property expects a SpatialReference object, but the way you've got it, it passes in a json of wkid: 4326. Try instead: return ArcGISRuntimeEnvironment.createObject("Point",{"x":172.49307355493,"y": -43.4810759934974, "spatialReference": SpatialReference.createWgs84() });
Or
const sr = ArcGISRuntimeEnvironment.createObject(“SpatialReference”, { “wkid”: 4326};
return ArcGISRuntimeEnvironment.createObject("Point",{"x":172.49307355493,"y": -43.4810759934974, "spatialReference": sr });
... View more
08-06-2020
10:59 AM
|
1
|
0
|
892
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 05-27-2026 09:52 AM | |
| 1 | 11-24-2025 10:45 AM | |
| 1 | 07-30-2025 08:26 AM | |
| 1 | 05-15-2025 07:35 AM | |
| 2 | 11-26-2024 01:27 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|