|
POST
|
If the Date field is actually of Date data type, then it should accept just a regular JS Date object. However, the function you reference above returns a string. Can you see if just passing in a new Date works? new Date() There is a discussion in the Qt doc about how a JS Date is equivalent to a QDateTime, which is what we use internally - Data Type Conversion Between QML and C++ | Qt QML 5.8
... View more
05-22-2017
09:59 AM
|
2
|
2
|
2256
|
|
POST
|
I suggest you use either the buffer or the bufferGeodetic GeometryEngine functions. GeometryEngine QML Type | ArcGIS for Developers GeometryEngine QML Type | ArcGIS for Developers
... View more
05-16-2017
11:18 AM
|
0
|
1
|
2351
|
|
POST
|
The LocationDisplay is only supported on the MapView currently. As a workaround, what you could do in the meantime is use QML's PositionSource object to get location updates, and add a GraphicsOverlays with a Marker Symbol graphic in it. Then, update the Graphic's geometry based on the updated position from PositionSource.
... View more
05-16-2017
09:19 AM
|
2
|
1
|
1636
|
|
POST
|
Does your pro file have the esri prf defined in it, like this: arcgis-runtime-samples-qt/ChangeBasemap.pro at master · Esri/arcgis-runtime-samples-qt · GitHub I suggest that if you do have this defined, and it still does not work, to try running the post installer again and making sure you are building against the same kit. The prf and other various files need to be present in your kit in order for Qt to find the proper files for building/linking.
... View more
05-15-2017
07:49 AM
|
0
|
0
|
1352
|
|
POST
|
Does GeometryEngine::unionOf method work for you? GeometryEngine QML Type | ArcGIS for Developers This is the ArcPy help, but it is conceptually the same - Geometry—Help | ArcGIS for Desktop Scroll down to union on that page. Our next update will have an additional method that takes a list of geometries.
... View more
05-12-2017
03:26 PM
|
2
|
0
|
1472
|
|
POST
|
The 2 should be pretty comparable, although I should note that we don't have any performance benchmarks in place for this scenario.
... View more
05-12-2017
11:46 AM
|
2
|
0
|
1690
|
|
POST
|
What version are you using? Like Dan linked to, you can display a shapefile with 10.2.x via Local Server. Our new release does not yet have support for shapefiles but will shortly.
... View more
05-12-2017
09:39 AM
|
0
|
0
|
3109
|
|
POST
|
Running the installer and post installer should be the only things you need to do. When you ran the post installer, did you select the gcc_64 kit that you are building against? Also, in Qt Creator, does your code get underlined, like it can't find any of the headers, or is it just the linker error you are getting?
... View more
05-12-2017
07:18 AM
|
0
|
0
|
1352
|
|
POST
|
I'd suggest you use the QML Connections type - Signal and Handler Event System | Qt QML 5.8 Connections {
target: spanFeatureLayer.featureTable
onQueryFeaturesStatusChanged: {
if (spanFeatureLayer.featureTable.queryFeaturesStatus === Enums.TaskStatusCompleted) {
console.log("complete");
}
}
}
... View more
05-10-2017
03:31 PM
|
2
|
2
|
1690
|
|
POST
|
Creating a new builder each time is probably the way to go. You could also probably create a new PartCollection that is empty and set that on the builder, but I think that seems less straight forward.
... View more
05-10-2017
07:10 AM
|
2
|
0
|
1621
|
|
POST
|
I think this should do what you want - Geodatabase QML Type | ArcGIS for Developers
... View more
05-09-2017
10:45 AM
|
2
|
0
|
891
|
|
POST
|
No problem. QML works best when you try and think about how you can do it declaratively versus in JS code. Your code will look nicer, performance will be better, and chances for bugs will probably be less.
... View more
05-05-2017
03:33 PM
|
1
|
0
|
2823
|
|
POST
|
That error is a known issue. It won't hurt anything and we are looking into a way to suppress it. I wonder if you could do something like this: FeatureLayer {
id: sprayingFeatureLayer
featureTable: localGDB.geodatabaseFeatureTablesByTableName["SprayingLog"]
visible: loadStatus === Enums.LoadStatusLoaded && activeMode === "Spraying"
}
... View more
05-05-2017
03:22 PM
|
0
|
2
|
2822
|
|
POST
|
Can you by chance do this declaratively instead of in JavaScript code? Our sample gives an example of how you can declaratively add a local feature table from a Geodatabase by table name. You can also do it by index if that is easier - Feature layer (geodatabase)—ArcGIS Runtime SDK for Qt | ArcGIS for Developers The issue with the above code is that a bunch of variables are getting created in the scope of that function, and as soon as the function returns, they all go out of scope. Doing it declaratively would eliminate that issue. If you end up needing to create it in JS code like what you have, then you need to add these layers to some top level global object that will persist even when the the function returns.
... View more
05-05-2017
12:09 PM
|
2
|
4
|
2822
|
|
POST
|
You can connect to it any time after is instantiated, but before it becomes the load process. It will load either if you explicitly call load(), or if you add it to a map, which will implicitly start the load cycle. I'll try to test out the visibility issue.
... View more
05-05-2017
11:25 AM
|
2
|
0
|
2822
|
| 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 |
06-17-2026
07:54 AM
|