public class LocationTextureRenderer extends BucketRenderer
| Modifier and Type | Field and Description |
|---|---|
static float |
CIRCLE_SIZE |
protected float |
mScale |
protected int |
mShaderProgram |
buckets, log, mFlipOnDateLine, mInitialized, mMapPosition| Constructor and Description |
|---|
LocationTextureRenderer(Map map,
Layer layer) |
LocationTextureRenderer(Map map,
Layer layer,
float scale) |
| Modifier and Type | Method and Description |
|---|---|
void |
animate(boolean enable) |
protected boolean |
init() |
void |
render(GLViewport v)
Render all 'buckets'
|
void |
setAnimate(boolean animate) |
void |
setBillboard(boolean billboard) |
void |
setBitmapArrow(Bitmap bitmap) |
void |
setBitmapMarker(Bitmap bitmap) |
void |
setCallback(LocationCallback callback) |
void |
setCenter(boolean center) |
void |
setColor(int color) |
void |
setLocation(double x,
double y,
double radius) |
void |
setShader(java.lang.String shaderFile) |
void |
setShowAccuracyZoom(int showAccuracyZoom) |
void |
update(GLViewport v)
Default implementation:
Copy initial Viewport position and compile buckets.
|
compile, setMatrix, setMatrix, setMatrix, setMatrixisReady, setReady, setuppublic static float CIRCLE_SIZE
protected final float mScale
protected int mShaderProgram
public void setAnimate(boolean animate)
public void setBillboard(boolean billboard)
public void setBitmapArrow(Bitmap bitmap)
public void setBitmapMarker(Bitmap bitmap)
public void setCallback(LocationCallback callback)
public void setCenter(boolean center)
public void setColor(int color)
public void setLocation(double x,
double y,
double radius)
public void setShader(java.lang.String shaderFile)
public void setShowAccuracyZoom(int showAccuracyZoom)
public void animate(boolean enable)
public void update(GLViewport v)
BucketRendererupdate in class BucketRendererpublic void render(GLViewport v)
BucketRendererrender in class BucketRendererprotected boolean init()