${Mapping_DynamicRESTLayer_Title}

${Mapping_DynamicRESTLayer_Description}

Inheritance: DynamicLayer, IClearTheme
 public DynamicRESTLayerTest()
 {
     InitializeComponent();
     double[] resolutions = new double[14];
     double resolution = 0.28526148969889065;
     for (int i = 0; i < 14; i++)
     {
         resolutions[i] = resolution;
         resolution /= 2;
     }
     MyMap.Resolutions = resolutions;
     restLayer = this.MyMap.Layers["restLayer"] as DynamicRESTLayer;
     restLayer.Failed += restLayer_Failed;
     this.Unloaded += DynamicRESTLayerTest_Unloaded;
 }
        public RendererTest()
        {
            InitializeComponent();
            double[] resolutions = new double[14];
            double resolution = 0.28526148969889065;
            for (int i = 0; i < 14; i++)
            {
                resolutions[i] = resolution;
                resolution /= 2;
            }
            MyMap.Resolutions = resolutions;
            MyMap.Loaded += new RoutedEventHandler(MyMapControl_Loaded);

            uniqueRenderLayer = MyMap.Layers["uniqueRenderLayer"] as FeaturesLayer;
            rangeRendererLayer = MyMap.Layers["rangeRendererLayer"] as FeaturesLayer;
            uniformRendererLayer = MyMap.Layers["uniformRendererLayer"] as FeaturesLayer;
            _layer = MyMap.Layers["DynamicRESTLayer"] as DynamicRESTLayer;
            _layer.Failed += RendererTest_Failed;
            this.Unloaded += RendererTest_Unloaded;
        }