Class LocationTextureRenderer


public class LocationTextureRenderer extends BucketRenderer
  • Field Details

    • ACCURACY_CIRCLE_SIZE

      public static float ACCURACY_CIRCLE_SIZE
    • CIRCLE_SIZE

      public static float CIRCLE_SIZE
    • mScale

      protected final float mScale
    • mShaderProgram

      protected int mShaderProgram
  • Constructor Details

    • LocationTextureRenderer

      public LocationTextureRenderer(Map map, Layer layer)
    • LocationTextureRenderer

      public LocationTextureRenderer(Map map, Layer layer, float scale)
  • Method Details

    • setAnimate

      public void setAnimate(boolean animate)
    • setBillboard

      public void setBillboard(boolean billboard)
    • setBitmapArrow

      public void setBitmapArrow(Bitmap bitmap)
    • setBitmapMarker

      public void setBitmapMarker(Bitmap bitmap)
    • setCallback

      public void setCallback(LocationCallback callback)
    • setCenter

      public void setCenter(boolean center)
    • setColor

      public void setColor(int color)
    • setLocation

      public void setLocation(double x, double y, double radius)
    • setShader

      public void setShader(String shaderFile)
    • setShowAccuracyZoom

      public void setShowAccuracyZoom(int showAccuracyZoom)
    • animate

      public void animate(boolean enable)
    • update

      public void update(GLViewport v)
      Description copied from class: BucketRenderer
      Default implementation: Copy initial Viewport position and compile buckets.
      Overrides:
      update in class BucketRenderer
    • render

      public void render(GLViewport v)
      Description copied from class: BucketRenderer
      Render all 'buckets'
      Overrides:
      render in class BucketRenderer
    • init

      protected boolean init()