Class ProxyHttpTile

java.lang.Object
com.codename1.maps.Tile
com.codename1.maps.ProxyHttpTile

public class ProxyHttpTile extends Tile
This Tile brings the tile image from a given http url.
  • Constructor Details

    • ProxyHttpTile

      public ProxyHttpTile(Dimension tileSize, BoundingBox bbox, String url)

      Creates an Http Tile

      Parameters
      • tileSize: the tile size

      • bbox: the tile bounding box

      • url: the url to bring the image from

  • Method Details

    • paint

      public boolean paint(Graphics g)

      Paints the tile on the Graphics Object

      Parameters
      • g: Graphics object to paint on.
      Returns

      true if painting succeeded.

      Overrides:
      paint in class Tile