|
POST
|
The delay is there so that we can decipher between a single mouse click and a double mouse click. The original intent was that we wanted those signals to be exclusive, meaning you could have one behavior happen on mouse click and another on double click. One thing you could do if you want a more responsive click experience could be to use the mousePressed and mouseReleased signals. You could run your identify on either one of those, or you could could listen for a press then a release within a tolerance of the same screen coordinate.
... View more
12-20-2023
07:38 AM
|
2
|
2
|
1433
|
|
POST
|
Thanks for reporting this. We gave it a look and can confirm you've run into a bug with the scaling in 3D. I've logged the following bug - BUG-000163776 Dictionary Renderer Expression scaling renders incorrectly in 3D. If you would like, you can contact support to have your customer account number attached to the bug to receive status updates.
... View more
12-15-2023
07:59 AM
|
0
|
0
|
1126
|
|
IDEA
|
I'm pleased to share that the Native Maps SDK team at Esri is actively researching support for Flutter, and we look forward to sharing more exciting news in Q1/Q2 of next year. Stay tuned!
... View more
11-29-2023
08:10 AM
|
0
|
0
|
2196
|
|
POST
|
Hi Troy - we've got a fix in for the 200.3 release, which should be coming out in December 2023. We don't currently have any patch releases for 200.1 planned.
... View more
11-15-2023
08:01 AM
|
1
|
0
|
631
|
|
POST
|
Here is some sample code I put together that moves the point and displays a graphic at the new point ApplicationWindow {
id: appWindow
width: 800
height: 600
title: "Untitled172"
// add a mapView component
MapView {
id: mv
anchors.fill: parent
// set focus to enable keyboard navigation
focus: true
// add a map to the mapview
Map {
// add the ArcGISStreets basemap to the map
initBasemapStyle: Enums.BasemapStyleArcGISStreets
initialViewpoint: ViewpointExtent {
extent: Envelope {
id: env
json: {"spatialReference":{"latestWkid":3857,"wkid":102100},"xmax":-13013797.089479687,"xmin":-13034963.75614633,"ymax":4036739.5261344,"ymin":4020864.5261344174}
}
}
}
GraphicsOverlay {
id: graphicsOverlayAddNewPoint
Graphic {
geometry: Point {
x: -117
y: 34
spatialReference: SpatialReference {wkid: 4326}
}
symbol: SimpleMarkerSymbol {
color: "red"
}
}
}
Component.onCompleted: {
movePoint()
}
function movePoint() {
var refPointList = [];
var refPoint = ArcGISRuntimeEnvironment.createObject("Point", {
x: -117,
y: 34,
spatialReference: Factory.SpatialReference.createWgs84()});
refPointList.push(refPoint);
var linearUnit = ArcGISRuntimeEnvironment.createObject("LinearUnit", {linearUnitId: Enums.LinearUnitIdKilometers});
var angularUnit = ArcGISRuntimeEnvironment.createObject("AngularUnit", {angularUnitId: Enums.AngularUnitIdDegrees});
var movedPoints = GeometryEngine.moveGeodetic(refPointList, 2, linearUnit,
0, angularUnit, Enums.GeodeticCurveTypeGeodesic);
var graphic = ArcGISRuntimeEnvironment.createObject("Graphic", {
geometry: movedPoints[0],
symbol: ArcGISRuntimeEnvironment.createObject("SimpleMarkerSymbol", {color: "purple"})
});
graphicsOverlayAddNewPoint.graphics.append(graphic);
}
}
}
... View more
10-17-2023
07:00 AM
|
1
|
1
|
1839
|
|
POST
|
First thing to do after creating the shapefile feature table is to query it for the feature you want, using the query parameters - https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-featuretable.html#queryFeatures Once you have the Feature handy, you can get the feature's geometry https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-feature.html#geometry Once you get the geomtry, you'll need to use geometry_cast to cast the base class Geometry to a Polyline. The Polyline is-a Multipart geometry. You'll want to go through the parts, and for-each part, you can get a list of the points/vertices that make up the part https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-immutablepart.html#points. Hope this helps!
... View more
10-12-2023
09:19 AM
|
0
|
2
|
1364
|
|
POST
|
Hi Sean, Based on the resetToHomeView code, there are 2 setViewpoint calls one after another. However, these are async calls, so you may be running into some behavior where the previous setViewpoint is canceled if it's not complete yet. One idea to try would be to chain them up to run once the other one is complete. Here is some sample code I tried that works (not the prettiest, but you could probably make it more robust) // add a mapView component
MapView {
id: mv
anchors.fill: parent
// set focus to enable keyboard navigation
focus: true
// add a map to the mapview
Map {
// add the ArcGISStreets basemap to the map
initBasemapStyle: Enums.BasemapStyleArcGISStreets
initialViewpoint: ViewpointExtent {
extent: Envelope {
id: env
json: {"spatialReference":{"latestWkid":3857,"wkid":102100},"xmax":-13013797.089479687,"xmin":-13034963.75614633,"ymax":4036739.5261344,"ymin":4020864.5261344174}
}
}
}
onViewpointChanged: {
if (isResetting && mv.mapRotation === 0) {
console.log("in here")
isResetting = false;
mv.setViewpointGeometry(env);
}
}
Button {
text: "reset"
onClicked: {
if (mv.mapRotation === 0) {
mv.setViewpointGeometry(env)
}
isResetting = true
mv.setViewpointRotation(0)
}
}
... View more
10-12-2023
09:12 AM
|
1
|
1
|
1126
|
|
POST
|
Looks like a duplicate post of https://community.esri.com/t5/qt-maps-sdk-questions/memory-leak-happens-when-we-are-updating-qimage/m-p/1331855#M5059
... View more
09-25-2023
12:35 AM
|
0
|
0
|
1030
|
|
POST
|
It looks like you new up a picture marker symbol and set the parent to ‘this’, then the graphic is removed from the collection but not deleted. Calling clear on the graphics overlay will remove it from the collection but it won’t delete the object. https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-graphiclistmodel.html#clear Try setting the parent object of the symbol the the graphic, and then deleting the graphic after calling clear. Either that or use some more sophisticated RAII technique
... View more
09-25-2023
12:33 AM
|
0
|
2
|
4002
|
|
POST
|
Your approach is roughly the approach we took in an example app - https://github.com/Esri/dynamic-situational-awareness-qt/blob/main/Shared/LocationDisplay3d.h There are some interesting challenges to work through, such as whether to drape the symbol on the ground or have it fixed at a given z value above the terrain, and what type of symbol to use.
... View more
07-13-2023
10:05 AM
|
0
|
1
|
1622
|
|
POST
|
It is on our list of things we would like to do, but as there are reasonable alternative workflows available, it hasn't made the cut. I unfortunately don't have a time frame as to when this will be planned. If you can email me (ldanzinger@esri.com) with some relevant use cases and business cases, I will be sure to pass that along to product management so we can hopefully get this feature request some traction.
... View more
07-11-2023
06:45 AM
|
0
|
0
|
1627
|
|
BLOG
|
We are pleased to announce 200.1 release of ArcGIS Maps SDK for Qt. You can read about the highlights common to all ArcGIS Maps SDKs for Native Apps in the shared ArcGIS Maps SDK blog post and additional details in the 200.1 Release Notes. Here are a few specific Qt improvements worth highlighting: New and improved sketching experience. As mentioned in the shared blog, there is a new sketching tool called GeometryEditor. This class has several of the same base capabilities as SketchEditor, with some notable improvements, including: freehand editing mode, panning the MapView mid-edit, selection cycling, canUndo/canRedo boolean properties, and better multipart geometry support. We look forward to continuing to evolve our geometry editing and sketching capabilities in GeometryEditor. Numerous snippet additions in the developer guide to better support the conceptual topics. Improved logging of enum values in C++. All C++ enum can now be output to the console using qDebug(), which makes it very simple to quickly debug issues. qDebug() << e.errorType(); // output: "ErrorType::CommonInvalidArgument" Please reach out if you have any questions or comments. -ArcGIS Maps SDK for Qt Team
... View more
04-19-2023
02:36 PM
|
0
|
0
|
623
|
|
POST
|
Your solution of toggling visibility depending on dark/light mode is pretty clean and simple in my opinion. That seems like a good option. We do have other samples where we use dictionary symbol styles without military symbols. You could input some custom Arcade that would swap the correct colors depending on some condition, but that will be much more complicated to maintain and debug than your solution. https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main/ArcGISRuntimeSDKQt_QMLSamples/DisplayInformation/CustomDictionaryStyle
... View more
04-05-2023
07:00 AM
|
0
|
1
|
2222
|
|
POST
|
With the Runtime API itself, the credentials are only stored in memory, so if the app is closed, the credentials will not be persisted. However, I believe AppStudio has secure storage capabilities in the AppFramework that allows you to store credential info (such as token and refresh token) between app sessions - https://developers.arcgis.com/appstudio/api-reference/qml-arcgis-appframework-securestorage-securestorage. I recommend checking in on the AppStudio space if you have any questions on that.
... View more
04-05-2023
06:56 AM
|
1
|
1
|
980
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 06-26-2015 10:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|