Package globus.glmap
Class GLMapTrackLayer
java.lang.Object
globus.glmap.GLNativeObject
globus.glmap.GLMapDrawObject
globus.glmap.GLMapTrackLayer
- Direct Known Subclasses:
GLMapTrack
GLMapTrack
is a bridge class, to work with GLMap internal representation of track on
map.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Callback called to fetch tracks to display -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setStyleAndCallback
(GLMapVectorStyle style, GLMapTrackLayer.DataCallback dataCallback) Sets new tracks and styleMethods inherited from class globus.glmap.GLMapDrawObject
getDrawOrder, isHidden, setHidden
Methods inherited from class globus.glmap.GLNativeObject
dispose
-
Constructor Details
-
GLMapTrackLayer
public GLMapTrackLayer(int drawOrder) Default constructor- Parameters:
drawOrder
- draw order of object
-
-
Method Details
-
setStyleAndCallback
public void setStyleAndCallback(@NonNull GLMapVectorStyle style, @NonNull GLMapTrackLayer.DataCallback dataCallback) Sets new tracks and style- Parameters:
style
- style for tracksdataCallback
- callback that provides data for bbox
-