MultiPolyline no longer uses its own special renderer@Deprecated public class GLMultipolyline extends GLPolyline
GLMapItem2.OnBoundsChangedListener, GLMapItem2.OnVisibleChangedListener_nadirClamp, _needsUpdate, _pointsSize, _verts2, _verts2Ptr, _verts2Size, altitudeMode, basicLineStyle, currentDraw, div_180_pi, impl, needsProjectVertices, numPoints, recompute, TAGfill, fillColor, stroke, strokeAlpha, strokeBlue, strokeColor, strokeGreen, strokeRed, strokeWeightbounds, clickable, context, DEFAULT_MAX_ALT, DEFAULT_MIN_ALT, minMapGsd, renderPass, subject, visible, zOrder| Constructor and Description |
|---|
GLMultipolyline(MapRenderer surface,
MultiPolyline subject)
Deprecated.
Function responsible for creating a new GL MultiPolyline
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(GLMapView ortho,
int renderPass)
Deprecated.
Just loop through all the lines and draw them individually
|
protected HitTestResult |
hitTestImpl(MapRenderer3 renderer,
HitTestQueryParameters params)
Perform a hit test on this map item
Sub-classes should override this method for hit-testing
|
void |
onEditableChanged(EditablePolyline polyline) |
void |
startObserving()
Deprecated.
Just loop through all the individual lines and start observing
|
void |
stopObserving()
Deprecated.
Just loop through all the individual lines and stop observing them
|
protected boolean |
uses2DPointBuffer()
Whether points should be stored in a 2D or 3D point buffer
(if altitude should be ignored or not)
XXX - We always need 3D points for hit testing to work properly
with perspective rendering
|
_ensureVertBuffer, _projectVerts, getAltitudeMode, getDefaultWidgetViewF, getWidgetViewF, onAltitudeModeChanged, onBasicLineStyleChanged, onFillColorChanged, onHeightChanged, onHeightStyleChanged, onLabelsChanged, onLabelTextSizeChanged, onPointsChanged, onStrokeColorChanged, onStrokeWeightChanged, onStyleChanged, release, updateNadirClamp, updatePointsImpl, updatePointsImpl, validateLabelsaddBoundsListener, addVisibleListener, dispatchOnBoundsChanged, dispatchOnVisibleChanged, forward, forward, forward, forward, forward, forward, forward, getBounds, getClampToGroundAtNadir, getClickable, getMinDrawResolution, getOpaque, getRenderPass, getSubject, getZOrder, hitTest, isVisible, markSurfaceDirty, onClickableChanged, onVisibleChanged, onZOrderChanged, removeBoundsListener, removeVisibleListener, runOnGLThread, setClampToGroundAtNadir, setOpaquepublic GLMultipolyline(MapRenderer surface,
MultiPolyline subject)
surface - The map surfacesubject - - The multipolyline to renderpublic void startObserving()
startObserving in interface GLMapItem2public void stopObserving()
stopObserving in interface GLMapItem2public void draw(GLMapView ortho,
int renderPass)
ortho - a GLMapViewprotected boolean uses2DPointBuffer()
GLPolylineuses2DPointBuffer in class GLPolylinepublic void onEditableChanged(EditablePolyline polyline)
onEditableChanged in interface EditablePolyline.OnEditableChangedListenerprotected HitTestResult hitTestImpl(MapRenderer3 renderer,
HitTestQueryParameters params)
AbstractGLMapItem2hitTestImpl in class GLPolylinerenderer - Map rendererparams - Query parameters