POST
|
and either append a version number to ArcGIS Extras to the copied subfolder or copy the appropriate Extras import library from the corresponding sample sdk This shouldn't be required. I am able to have the folder named as "qml\Esri\ArcGISExtras" without the ".1.1" on the end and it works fine to detect the import. Even if your app doesn't use this import. My app doesn't and this was the difference between it functioning on the deploy device or not. This should not be the case either. The "qml\Esri\ArcGISExtras" does not need to come along in the deployment of the app unless there is a QML file somewhere which imports "import Esri.ArcGIS Extras 1.1" Thanks. -Michael
... View more
07-27-2018
03:33 PM
|
0
|
1
|
441
|
POST
|
Hi Gabe, I can work around the problem by specifying the number of samples to be used for multisampling. This can be done in a couple ways: 1) In main.cpp before the QApplication is instantiated. QSurfaceFormat fmt; fmt.setSamples(8); QSurfaceFormat::setDefaultFormat(fmt); 2) On the QGraphicsView's viewport directly. In subclassed MapGraphicsView constructor: auto openGlWidget = static_cast<QOpenGLWidget*>(viewport()); auto format = openGlWidget->format(); format.setSamples(8); openGlWidget->setFormat(format); However what I still need to find out is whether the MapGraphicsView should be setting up the number of samples by default. I should have that information soon. Thanks. -Michael
... View more
07-23-2018
01:10 PM
|
2
|
1
|
3018
|
POST
|
Hi Gabe, Thanks for trying that. Bummer that it didn't do the trick. I will try to repro on my end so I can do some troubleshooting. We have seen problems in the past with OpenGL states being left dirty and the QPainter system not resetting the default state back properly for what the items require while painting. It could be something like that going on since you've mentioned that you see the correct behavior when not consuming the ArcGIS Qt view. I'll keep you posted. -Michael
... View more
07-19-2018
12:28 PM
|
0
|
3
|
3018
|
POST
|
Hi Gabe, I'm wondering if setting setRenderHint(QPainter::Antialiasing) on the MapGraphicsView in your application makes any difference? Thanks. -Michael
... View more
07-18-2018
10:05 PM
|
0
|
5
|
3018
|
POST
|
I'd recommend using the GeodatabaseFeatureServiceTable with the FeatureLayer. This is the direction moving forward for feature layer support in the Runtime. The ArcGISFeatureLayer is still provided for feature collections (initializing a feature layer from a feature set) because the Runtime API doesn't yet support that feature with the FeatureLayer using a FeatureTable. I reproduced the problem and noticed that somewhere in the instantiation process of the declared GeodatabaseFeatureServiceTable, it is losing the definitionExpression. I'd recommend logging this as a bug through support. In the meantime as a workaround, you could wait to assign the definitionExpression when the feature table is initialized. Here's an example: GeodatabaseFeatureServiceTable { id: featureServiceTable url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer/0" //definitionExpression: "eventtype = 1"
onFeatureTableStatusChanged: { if (featureTableStatus === Enums.FeatureTableStatusInitialized) { definitionExpression = "eventtype = 1" } } }
... View more
03-19-2015
02:00 PM
|
0
|
0
|
1100
|
POST
|
Isaiah, yes there is a definitionExpression on the GeodatabaseFeatureServiceTable: https://developers.arcgis.com/qt/qml/api-reference/class_geodatabase_feature_service_table.html#aa27d2b3227a39a2e21f7b0eb2f62eacb ArcGIS Runtime SDK for Qt (QML API): GeodatabaseFeatureServiceTable We recommend using the GeodatabaseFeatureServiceTable with a FeatureLayer in the QML API, unless you are working with feature collections in which the ArcGISFeatureLayer is the way to go.
... View more
03-19-2015
10:56 AM
|
0
|
2
|
1100
|
POST
|
Hi Max, Sorry for the delay in response. The QGraphicsProxyWidget may be the better approach at the moment. You could also try rendering the MapGraphicsView to an offscreen QImage and then painting the image to your custom QGraphicsView, but I imagine that would be even slower than the QGraphicsProxyWidget approach. Thanks for your feedback on this issue. I will log an issue to see if we can get a MapGraphicsWidget, based on QGraphicsWidget, added to the API. Thanks! -Michael Tims
... View more
08-21-2014
09:33 AM
|
0
|
1
|
664
|
POST
|
To handle interception of the mouseDoubleClick event on the GraphicsScene, you must subclass QGraphicsItem, accept mouseDoubleClick, and add this item to the GraphicsScene (MapGraphicsView::scene()). There are a few examples in the QtSampleApplication sample code, which comes installed the Runtime SDK for Qt. See the Search --> Local Geocode sample for information on how to intercept double click events from the Map's scene.
... View more
01-29-2014
09:07 AM
|
0
|
0
|
807
|
POST
|
Thank you Jan. This is a bug on our end. The task is not honoring the "returnGeometry" parameter. Therefore, it attempts to return the entire geometry for each identify task, even though you have set the returnGeometry to "false". I am fixing this for the final 10.2 release. Thank you for your feedback and finding this issue!
... View more
05-21-2013
01:12 PM
|
0
|
0
|
752
|
POST
|
Hello, I'm trying to reproduce this on my end, but I cannot load the provided ArcGISLocalDynamicMapServiceLayer (mpk) because it does not contain a valid full extent. The extent values come back as NaN. Could you please provide an updated mpk? Thanks!
... View more
05-15-2013
10:22 AM
|
0
|
0
|
752
|
POST
|
The 10.2 ArcGIS Runtime SDK for Qt beta is now available at the Esri beta community website. Sign up now to try the software.
... View more
04-20-2013
12:03 PM
|
0
|
0
|
556
|
Title | Kudos | Posted |
---|---|---|
2 | 07-23-2018 01:10 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:22 AM
|