public void ShowRenderedObjects(IEnumerable renderedObjects) { //WebMapRenderer.ClearRenderQueue(); foreach (Object o in renderedObjects) { WebMapRenderer.EnqueueRenderObject(o); } }
protected override Type GetRenderObjectType() { return(WebMapRenderer.GetRenderObjectType()); }
protected override ITextRenderer2D CreateTextRenderer() { return(WebMapRenderer.CreateTextRenderer()); }
protected override IVectorRenderer2D CreateVectorRenderer() { return(WebMapRenderer.CreateVectorRenderer()); }
//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()); }