Select to view content in your preferred language

ArcGIS JS Copy MapVIew

317
1
11-29-2023 07:47 PM
Wade
by
Occasional Contributor

Because some layers cannot be printed when using the print tool, I want to know if I can copy the MapView to adjust the display of the layers inside.

This copy of MapVIew does not affect the original one.

0 Kudos
1 Reply
ViktorSafar
Frequent Contributor

I do not think that idea will work from the get go. A layer can be owned/belong to only 1 parent (a map). So even if you create a new MapView with a new Map, you cannot give it the same layers as if you try it, the layers will be reassigned to the new map.

What is it that you are trying to achive?

0 Kudos