Class OSMService

All Implemented Interfaces:
ImageLoader

public class OSMService extends WebMercatorTileService
The tile service for the OpenStreetMap family.
Since:
12
Author:
Tobias Sauerwein, Ugo Taddei
  • Constructor Details

    • OSMService

      public OSMService(String name, String baseUrl)
  • Method Details

    • getScaleList

      public double[] getScaleList()
      Description copied from class: TileService
      Returns a list that represents a mapping between zoom-levels and map scale.

      Array index: zoom-level Value at index: map scale High zoom-level -> more detailed map Low zoom-level -> less detailed map

      Specified by:
      getScaleList in class TileService
      Returns:
      mapping between zoom-levels and map scale
    • getTileFactory

      public TileFactory getTileFactory()
      Description copied from class: TileService
      Returns the TileFactory which is used to call the method getTileFromCoordinate().
      Specified by:
      getTileFactory in class TileService
    • identifyTileAtCoordinate

      public TileIdentifier identifyTileAtCoordinate(double lon, double lat, ZoomLevel zoomLevel)
      Description copied from class: TileService
      Returns tile identifier for the tile at the given coordinate
      Specified by:
      identifyTileAtCoordinate in class TileService