Esempio n. 1
0
 public void ShowRenderedObjects(IEnumerable renderedObjects)
 {
     //WebMapRenderer.ClearRenderQueue();
     foreach (Object o in renderedObjects)
     {
         WebMapRenderer.EnqueueRenderObject(o);
     }
 }
Esempio n. 2
0
 protected override Type GetRenderObjectType()
 {
     return(WebMapRenderer.GetRenderObjectType());
 }
Esempio n. 3
0
 protected override ITextRenderer2D CreateTextRenderer()
 {
     return(WebMapRenderer.CreateTextRenderer());
 }
Esempio n. 4
0
 protected override IVectorRenderer2D CreateVectorRenderer()
 {
     return(WebMapRenderer.CreateVectorRenderer());
 }
Esempio n. 5
0
        //protected override void CreateGeometryRenderer(Type renderObjectType)
        //{
        //    if (renderObjectType == typeof(GdiRenderObject))
        //        base.CreateGeometryRenderer(renderObjectType);
        //    else if (renderObjectType == typeof(GeoJsonRenderObject))
        //    {
        //        Type basicGeometryRendererType = typeof(GeoJsonGeometryRenderer<>);
        //        Type layerType = typeof(GeometryLayer);

        //        CreateRendererForLayerType(basicGeometryRendererType,
        //                                   renderObjectType,
        //                                   layerType,
        //                                   VectorRenderer);
        //    }
        //}

        protected override IRasterRenderer2D CreateRasterRenderer()
        {
            return(WebMapRenderer.CreateRasterRenderer());
        }