Package globus.glmap
Interface GLMapTrackLayer.DataCallback
- Enclosing class:
- GLMapTrackLayer
public static interface GLMapTrackLayer.DataCallback
Callback called to fetch tracks to display
-
Method Summary
Modifier and TypeMethodDescriptionCalled to get tracks data for the given bounding box.
-
Method Details
-
getTracks
Called to get tracks data for the given bounding box.This callback may be invoked from an internal background/render thread. Keep the implementation fast and avoid touching UI directly.
- Parameters:
bbox- BBox of tracks- Returns:
- list of
GLMapTrackDatainstances to draw, ornullfor no tracks
-