Class TileGridLayer


  • public class TileGridLayer
    extends Layer
    • Constructor Detail

      • TileGridLayer

        public TileGridLayer​(org.mapsforge.core.graphics.GraphicFactory graphicFactory,
                             DisplayModel displayModel)
      • TileGridLayer

        public TileGridLayer​(DisplayModel displayModel,
                             org.mapsforge.core.graphics.Paint paintBack,
                             org.mapsforge.core.graphics.Paint paintFront)
    • Method Detail

      • draw

        public void draw​(org.mapsforge.core.model.BoundingBox boundingBox,
                         byte zoomLevel,
                         org.mapsforge.core.graphics.Canvas canvas,
                         org.mapsforge.core.model.Point topLeftPoint)
        Description copied from class: Layer
        Draws this Layer on the given canvas.
        Specified by:
        draw in class Layer
        Parameters:
        boundingBox - the geographical area which should be drawn.
        zoomLevel - the zoom level at which this Layer should draw itself.
        canvas - the canvas on which this Layer should draw itself.
        topLeftPoint - the top-left pixel position of the canvas relative to the top-left map position.