Class CustomMapnikSource.Mapnik

  • All Implemented Interfaces:
    org.openstreetmap.gui.jmapviewer.interfaces.Attributed, org.openstreetmap.gui.jmapviewer.interfaces.TileSource
    Enclosing class:
    CustomMapnikSource

    public static class CustomMapnikSource.Mapnik
    extends org.openstreetmap.gui.jmapviewer.tilesources.AbstractOsmTileSource
    The custom "Mapnik" OSM tile source.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.openstreetmap.gui.jmapviewer.interfaces.TileSource

        org.openstreetmap.gui.jmapviewer.interfaces.TileSource.TileUpdate
    • Field Summary

      • Fields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractOsmTileSource

        DEFAULT_OSM_ATTRIBUTION
      • Fields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource

        baseUrl, name
      • Fields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource

        attributionImage, attributionImageURL, attributionLinkURL, attributionText, termsOfUseText, termsOfUseURL
    • Constructor Summary

      Constructors 
      Constructor Description
      Mapnik​(String url)
      Constructs a new tile source.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openstreetmap.gui.jmapviewer.interfaces.TileSource.TileUpdate getTileUpdate()
      Returns the tile update mechanism.
      • Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractOsmTileSource

        getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getMaxZoom, getTermsOfUseText, getTermsOfUseURL, requiresAttribution
      • Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource

        getBaseUrl, getExtension, getMinZoom, getName, getTilePath, getTileSize, getTileType, getTileUrl, latToTileY, lonToTileX, tileXToLon, tileYToLat, toString
      • Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource

        setAttributionImage, setAttributionImageURL, setAttributionLinkURL, setAttributionText, setTermsOfUseText, setTermsOfUseURL
    • Constructor Detail

      • Mapnik

        public Mapnik​(String url)
        Constructs a new tile source.
        Parameters:
        url - the server URL to use
    • Method Detail

      • getTileUpdate

        public org.openstreetmap.gui.jmapviewer.interfaces.TileSource.TileUpdate getTileUpdate()
        Returns the tile update mechanism.
        Returns:
        The update mechanism
        See Also:
        TileSource.TileUpdate