|
POST
|
Since the time that we wrote that article, Qt has released much more thorough documentation on this. I have tried it out and it works great! - Platform Notes - iOS | Qt 5.9
... View more
06-07-2017
07:22 AM
|
2
|
0
|
907
|
|
POST
|
Is there any reason not to do this? Could it break in the future? You should be able to continue using it. If it stops working, it would be a regression and not by design.
... View more
06-02-2017
06:43 AM
|
0
|
0
|
2044
|
|
POST
|
Is your feature table loaded? Other feature tables used in layers probably implicitly get loaded by the layer being in the map, but the table would need to be explicitly loaded since nothing else would load it. ft.loadStatusChanged.connect(function() {
if (ft.loadStatus === Enums.LoadStatusLoaded) {
console.log("loaded");
console.log(ft.canAdd())
console.log(ft.createFeature())
}
});
ft.load();
... View more
06-01-2017
01:29 PM
|
2
|
2
|
2044
|
|
POST
|
Most of our public services get periodically cleaned up/reset. This one has a decent amount but by no means is a large dataset - Sync/WildfireSync (FeatureServer) We test with larger internal datasets and services. Maybe you could export a copy and anonymize any data, and private message me the data so we can stand it up on our services? There's lots of combinations that could contribute to the performance issues you are seeing (geometry type, geometry complexity, number/size of attributes, symbology/renderers, labels, etc), so it might be easiest to use data (or similar data) that you are already seeing issues with.
... View more
06-01-2017
01:03 PM
|
0
|
1
|
2996
|
|
POST
|
can you just use the createFeature method? FeatureTable QML Type | ArcGIS for Developers
... View more
06-01-2017
07:20 AM
|
1
|
4
|
2044
|
|
POST
|
The watermark should go away if it is licensed correctly. Do you see this in your main.cpp? #ifdef kLicense
QCoreApplication::instance()->setProperty("Esri.ArcGISRuntime.license", kLicense);
#endif
... View more
05-30-2017
03:03 PM
|
0
|
0
|
876
|
|
POST
|
FYI here is the bug. I am not sure why you did not get a notification about the status update - BUG-000101117: The on interaction cache feature request mode of the.. As for the InteractionCache vs ManualCache modes being the same, that is very strange. If you look at the Sample Viewer, there is a sample in the Features section that displays the behavior of ManualCache. It does not request any features until the populate button is clicked. Is that not what you are seeing? Regarding the CPU spikes, can you upload a sample project with steps to reproduce. I tried running through a small subset of feature layer tests we have for feature services, and I did not see CPU spikes, so I'm definitely doing something different than you. Thanks, Luke
... View more
05-30-2017
03:02 PM
|
0
|
3
|
2996
|
|
POST
|
Ian- We plan on improving the caching behavior and also improving the way we request features so as to reduce the overall network payload for our Update 2 release. This should give you the performance gains that you are requesting. Update 1 will be released in the next few weeks, and Update 2 is planned for the end of the year. However, just to provide some clarification, we believe that while there are areas for improving the efficiency and performance of the feature table, it is currently working as it was designed to work. This is the reasoning provided in a bug report that I believe you submitted: "The OnInteractionCache feature request mode is currently working as designed. One of the main reasons network requests continue to go out is because data could be changing on the server due to edits from other users. Limiting these requests could result in the features cached on your device to become out of date. The fact that this feature request mode contains the word "cache" may suggest that there are performance optimizations. However, while this specific mode may have some performance gains over the OnInteractionNoCache mode, which requests new features with every viewpoint change, the main benefit of using this mode is that it works well in partially connected scenarios. For example, if you lose network connection, you will still have features cached to your device, and you can continue doing your work. If you are needing to fine tune the amount of network requests that go out, you could consider the ManualCache mode, which gives you complete control over each request that is sent to the server. This mode works especially well when working in a small area, and when other users are not updating the features you are working with. While this feature request mode is currently working as designed, we are continuing to look into ways to further optimize feature requests with the ServiceFeatureTable in an upcoming release" If you have specific ideas on how you would like to see this improved, I would be interested to hear from you so that I can share your feedback with the team. - Luke
... View more
05-30-2017
01:31 PM
|
0
|
7
|
2996
|
|
POST
|
Object is the base class of basically all of our QML types - Object QML Type | ArcGIS for Developers Object has an errorChanged signal. I recommend you hook up to this signal on your various classes (the sync task objects, for example), and see if you can get anything useful out of it: onErrorChanged: {
if (error)
console.log("Error:", error.message, error.additionalMessage);
} One wild guess would be that something relies (via property binding perhaps?) on the spatial reference of the map/basemap, and not having a basemap is messing that up somehow. Just a guess, but hopefully there is some sort of useful error message coming back to help us further narrow down the issue.
... View more
05-30-2017
01:19 PM
|
2
|
1
|
1430
|
|
POST
|
Nishid, What version of Qt are you using? We have found a major regression in Qt 5.8, in case you are using that version - [QTBUG-58608] QNetworkManager get() repetitive request stuck for many msecs - Qt Bug Tracker . The workaround is to use 5.9 (release candidate was just released) or 5.6.2/5.7.1. If you aren't using 5.8, then we may need to get some additional information to try and narrow down what is happening. Thanks, Luke
... View more
05-30-2017
07:52 AM
|
0
|
0
|
659
|
|
POST
|
it's a direct wrap of this Qt object - QNetworkConfigurationManager Class | Qt Network 5.8, so it will have the same behavior as that. I've read in forums where there are some caveats like if you are on a hotel wifi but have not yet authenticated, it might say you are online even though you can't really use it yet. Other than that, it should trigger if you either turn wifi off or pull the hard wire (depending on how you are connected)
... View more
05-25-2017
03:12 PM
|
2
|
0
|
1951
|
|
POST
|
System is a singleton, so you should use Connections for this - Connections QML Type | Qt QML 5.8 Connections {
target: System
onOnlineStateChanged: {
console.log("is online?", online);
// hide whatever layers you want to hide
}
}
... View more
05-25-2017
02:47 PM
|
2
|
2
|
1951
|
|
POST
|
If you are not connected, you can expect your online layers to not draw. You can test that on your windows device by turning off your wifi. You might see some data that has been cached, but it will not be able to fetch any new tiles. Instead, you will either need to make a TPK and side load it, or use the Export Tile Cache Task to take a tile service offline. Then, you can use System.isOnline property from ArcGISExtras to switch between your online/offline layer: pseudocode: BasemapImagery {
id: onlineBasemap
}
Basemap {
id: offlineBasemap
ArcGISTiledLayer {
TileCache {
path: "/pathToData/data.tpk"
}
}
}
Map {
// user ternary operator to switch between the layers whenever the isOnline property changes
basemap: System.isOnline ? onlineBasemap : offlineBasemap
}
... View more
05-23-2017
11:20 AM
|
2
|
4
|
1951
|
|
POST
|
Since it is a JS Date object, you can use any of the various methods that are on Date. JavaScript Date Reference There are probably many ways to go about doing it. Maybe you could get the timezone offset, subtract that from the original milliseconds since epoch that is returned, and then construct a new date from that value? JavaScript getTimezoneOffset() Method
... View more
05-22-2017
10:37 AM
|
2
|
0
|
2258
|
| 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
|