Map display is slow in C++.

96
2
Jump to solution
2 weeks ago
Kanzakiryu
New Contributor

Hello.

I have the map displayed when the application starts, but it is a little slow to appear.

It's not fatally slow, but it's a little slow that bothers me.

Is there any way to eliminate some of the slowness?

The map I'm using is ArcGISTopographic.

0 Kudos
1 Solution

Accepted Solutions
JamesBallard1
Esri Contributor

@Kanzakiryu ,

Hi and thanks for reaching out to the team. We do implement http caching in the Qt API, so on subsequent access of the same map/basemap it should speed up. There's nothing specific I can offer to speed up loading that particular basemap, but if you're concerned about your app displaying something incomplete, we do have a layerViewStateChanged signal you can connect to to show a loading screen or something similar if that would help. That way you can make sure that everything is in the active state before displaying the map.

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-mapquickview.html#layerViewSta... 

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-layerviewstate.html#statusFlag...

I hope that helps.

Here is some extra info about our http caching class:

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-networkcacheconfiguration.html 

View solution in original post

0 Kudos
2 Replies
JamesBallard1
Esri Contributor

@Kanzakiryu ,

Hi and thanks for reaching out to the team. We do implement http caching in the Qt API, so on subsequent access of the same map/basemap it should speed up. There's nothing specific I can offer to speed up loading that particular basemap, but if you're concerned about your app displaying something incomplete, we do have a layerViewStateChanged signal you can connect to to show a loading screen or something similar if that would help. That way you can make sure that everything is in the active state before displaying the map.

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-mapquickview.html#layerViewSta... 

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-layerviewstate.html#statusFlag...

I hope that helps.

Here is some extra info about our http caching class:

https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-networkcacheconfiguration.html 

View solution in original post

0 Kudos
Kanzakiryu
New Contributor

Thank you for your answer.

I'll consider it.

0 Kudos