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 Detail

      • OSMService

        public OSMService​(String name,
                          String baseUrl)
    • Method Detail

      • 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