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, TAG
fill, fillColor, stroke, strokeAlpha, strokeBlue, strokeColor, strokeGreen, strokeRed, strokeWeight
bounds, 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, validateLabels
addBoundsListener, 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, setOpaque
public GLMultipolyline(MapRenderer surface, MultiPolyline subject)
surface
- The map surfacesubject
- - The multipolyline to renderpublic void startObserving()
startObserving
in interface GLMapItem2
public void stopObserving()
stopObserving
in interface GLMapItem2
public void draw(GLMapView ortho, int renderPass)
ortho
- a GLMapViewprotected boolean uses2DPointBuffer()
GLPolyline
uses2DPointBuffer
in class GLPolyline
public void onEditableChanged(EditablePolyline polyline)
onEditableChanged
in interface EditablePolyline.OnEditableChangedListener
protected HitTestResult hitTestImpl(MapRenderer3 renderer, HitTestQueryParameters params)
AbstractGLMapItem2
hitTestImpl
in class GLPolyline
renderer
- Map rendererparams
- Query parameters