java.lang.Object
com.esri.arcgisruntime.mapping.view.AnalysisOverlay
An AnalysisOverlay manages the display of one or more
Analysis
.
The SceneView.getAnalysisOverlays()
method returns a modifiable ListenableList that can contain 0 or more
AnalysisOverlay. Add an AnalysisOverlay to a GeoView by calling any of the add methods from the returned
ListenableList
.
- Since:
- 100.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the modifiable collection of analysis objects managed by theAnalysisOverlay
.boolean
Indicates whether all analyses in this overlay are visible.void
setVisible
(boolean visible) Sets whether all analyses in this overlay should be visible.
-
Constructor Details
-
AnalysisOverlay
public AnalysisOverlay()Creates an instance of AnalysisOverlay.- Since:
- 100.2.0
-
-
Method Details
-
getAnalyses
Gets the modifiable collection of analysis objects managed by theAnalysisOverlay
.The collection is specific to an
AnalysisOverlay
so you can't reuse an analyses collection coming from anotherAnalysisOverlay
. You have to create a new layer collection.- Returns:
- a modifiable list of analysis in this overlay
- Since:
- 100.2.0
-
isVisible
public boolean isVisible()Indicates whether all analyses in this overlay are visible.- Returns:
- true if all analyses in this overlay are visible, otherwise false
- Since:
- 100.2.0
-
setVisible
public void setVisible(boolean visible) Sets whether all analyses in this overlay should be visible.- Parameters:
visible
- true if all analyses in this overlay should be visible, otherwise false- Since:
- 100.2.0
-