ArcGIS API for JavaScript

920
6
Jump to solution
03-17-2022 06:28 AM
noc123
by
New Contributor II

How to show/hide a PictureMarkerSymbol in ArcGIS API for JavaScript? You can take this example: https://developers.arcgis.com/javascript/latest/sample-code/satellites-3d/ . I would like to show/hide the satellites on the globe by clicking in a button.

0 Kudos
1 Solution

Accepted Solutions
KristianEkenes
Esri Regular Contributor
6 Replies
ReneRubalcava
Frequent Contributor
KristianEkenes
Esri Regular Contributor
noc123
by
New Contributor II

do you know how to disable LayerList for one of these elements(layers)? for example satellite tracks

0 Kudos
KristianEkenes
Esri Regular Contributor
noc123
by
New Contributor II

do you know if there's an way to show/hide two or more layers in the same time when showing/hiding one of them? maybe connecting them somehow.

0 Kudos
noc123
by
New Contributor II

Thank you guys!

0 Kudos