Select to view content in your preferred language

Operations Dashboard: Get GraphicsLayer from MapWidgetProxy

1883
0
03-13-2016 12:11 PM
LuisRodríguez_González
Occasional Contributor

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