Operations Dashboard: Get GraphicsLayer from MapWidgetProxy

1681
0
03-13-2016 12:11 PM
LuisRodríguez_González
New Contributor III

Hello,

I want to develop a Map Tool for Operations Dashboard with the ArcGIS API for JavaScript. I need get a GraphicsLayer from MapWidgetProxy, like with WPF SDK. This is the WPF code:

            // Find the AcceleratedDisplayLayers collection from the Map

            client.AcceleratedDisplayLayers acLayers = mapWidget.Map.Layers.FirstOrDefault(lyr => lyr is client.AcceleratedDisplayLayers) as client.AcceleratedDisplayLayers;

            // Retrieve the GraphicsLayer if required using the ID

            graphicsLayer = acLayers.ChildLayers[graphicsLayerID] as client.GraphicsLayer;

Is it posible to do something similar than the WPF code with the ArcGIS API for JavaScript?

Regards

0 Kudos
0 Replies