/// <summary> /// Renders the given map using the given zoom factor and center. /// </summary> /// <param name="target"></param> /// <param name="map"></param> /// <param name="view"></param> public void RenderCache(TTarget target, Map map, View2D view) { // draw all layers seperatly but in the correct order. for (int layerIdx = 0; layerIdx < map.LayerCount; layerIdx++) { // get the layer. ILayer layer = map[layerIdx]; // render the scene for this layer. _renderer.RenderCache(target, view); } }