Class TilePosition

    • Field Detail

      • x

        private final int x
      • y

        private final int y
      • zoom

        private final int zoom
    • Constructor Detail

      • TilePosition

        public TilePosition​(int x,
                            int y,
                            int zoom)
        Constructs a new TilePosition.
        Parameters:
        x - X coordinate
        y - Y coordinate
        zoom - zoom level
      • TilePosition

        public TilePosition​(org.openstreetmap.gui.jmapviewer.Tile tile)
        Constructs a new TilePosition.
        Parameters:
        tile - tile
    • Method Detail

      • getX

        public int getX()
        Returns the x position.
        Returns:
        the x position
      • getY

        public int getY()
        Returns the y position.
        Returns:
        the y position
      • getZoom

        public int getZoom()
        Returns the zoom.
        Returns:
        the zoom