LuciadCPillar C# 2024.0.01
Luciad.Maps.Map.IRendererCallback Interface Reference

This callback can be used to execute tasks on the render thread right before or right after the Map is painted by Map.Renderer. More...

Public Member Functions

void OnAfterPaint (Map map)
 This method is called after the renderer has finished painting the contents of the Map. More...
 
void OnBeforePaint (Map map)
 This method is called before the renderer paints the contents of the Map. More...
 

Detailed Description

This callback can be used to execute tasks on the render thread right before or right after the Map is painted by Map.Renderer.

This callback can for example be used to adapt the camera on each repaint.

You can add or remove this callback from the Map.

Since
2021.1

Member Function Documentation

◆ OnAfterPaint()

void Luciad.Maps.Map.IRendererCallback.OnAfterPaint ( Map  map)

This method is called after the renderer has finished painting the contents of the Map.

Parameters
mapthe map that owns the renderer

◆ OnBeforePaint()

void Luciad.Maps.Map.IRendererCallback.OnBeforePaint ( Map  map)

This method is called before the renderer paints the contents of the Map.

Parameters
mapthe map that owns the renderer