How to disable loading of 3D content while working in 2D?
We have an app with a webmap and a webscene. When navigating around in the 2D-map, the content in the webscene is loaded as well. I assume this is done to make the toggling between 2D and 3D quicker. But with a lot of 3D content (buildings for the whole country), and maybe users that will never look at the 3D view, we end up with a lot of unnecessary requests and memory usage (and a slow app). How can we disable this continuous loading of both 2D and 3D content (and rather take the "hit" when the user switch view)?
-
Hi Joachim - there isn't currently any way to prevent a map component that contains both a webmap and a webscene from doing the background loading of the content.
Depending on your use case, you could use two map components in your layout one with the map and one with the scene and provide a mechanism to allow the user to switch between them.
Having the map and scene in the same map control is very helpful if you need to move information between them (selection, markup, etc.) because they share the same layer data. However, if they do not share the same layer data then you can use two separate map components in your layout and the one that is not initially active will not load in the background.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar