Package com.luciad.maps
Interface Map.IRendererCallback
- Enclosing class:
Map
public static interface Map.IRendererCallback
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonAfterPaint(Map map, Map.Renderer mapRenderer) voidonBeforePaint(Map map, Map.Renderer mapRenderer)
-
Method Details
-
onBeforePaint
- Parameters:
map- the map that owns the renderermapRenderer- the renderer that called this function
-
onAfterPaint
- Parameters:
map- the map that owns the renderermapRenderer- the renderer that called this function
-