Class MapboxVectorTileSource
- java.lang.Object
-
- org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource
-
- org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
-
- org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
-
- org.openstreetmap.gui.jmapviewer.tilesources.TemplatedTMSTileSource
-
- org.openstreetmap.josm.data.imagery.JosmTemplatedTMSTileSource
-
- org.openstreetmap.josm.data.imagery.vectortile.mapbox.MapboxVectorTileSource
-
- All Implemented Interfaces:
org.openstreetmap.gui.jmapviewer.interfaces.Attributed
,org.openstreetmap.gui.jmapviewer.interfaces.TemplatedTileSource
,org.openstreetmap.gui.jmapviewer.interfaces.TileSource
public class MapboxVectorTileSource extends JosmTemplatedTMSTileSource
Tile Source handling for Mapbox Vector Tile sources- Since:
- 17862
-
-
Field Summary
Fields Modifier and Type Field Description private MapboxVectorStyle
styleSource
-
Fields inherited from class org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
maxZoom, minZoom, osmMercator
-
-
Constructor Summary
Constructors Constructor Description MapboxVectorTileSource(ImageryInfo info)
Create a newMapboxVectorTileSource
from anImageryInfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapboxVectorStyle
getStyleSource()
Get the style source for this Vector Tile source-
Methods inherited from class org.openstreetmap.josm.data.imagery.JosmTemplatedTMSTileSource
getMaxZoom, getMinZoom
-
Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.TemplatedTMSTileSource
checkUrl, getHeaders, getRandomPart, getTileUrl
-
Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.TMSTileSource
getCoveringTileRange, getDistance, getServerCRS, isInside, latLonToTileXY, latLonToXY, projectedToTileXY, tileXYToLatLon, tileXYtoProjected, xyToLatLon
-
Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource
getBaseUrl, getDefaultTileSize, getExtension, getId, getMetadata, getName, getTileId, getTilePath, getTileSize, getTileXMax, getTileXMin, getTileYMax, getTileYMin, isModTileFeatures, isNoTileAtZoom, latLonToTileXY, latLonToXY, tileXYToLatLon, tileXYToLatLon, toString, xyToLatLon
-
Methods inherited from class org.openstreetmap.gui.jmapviewer.tilesources.AbstractTileSource
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getTermsOfUseText, getTermsOfUseURL, requiresAttribution, setAttributionImage, setAttributionImageURL, setAttributionLinkURL, setAttributionText, setTermsOfUseText, setTermsOfUseURL
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openstreetmap.gui.jmapviewer.interfaces.Attributed
getAttributionImage, getAttributionImageURL, getAttributionLinkURL, getAttributionText, getTermsOfUseText, getTermsOfUseURL, requiresAttribution
-
Methods inherited from interface org.openstreetmap.gui.jmapviewer.interfaces.TileSource
getCoveringTileRange, getDefaultTileSize, getDistance, getId, getMetadata, getName, getServerCRS, getTileId, getTileSize, getTileXMax, getTileXMin, getTileYMax, getTileYMin, isInside, isModTileFeatures, isNoTileAtZoom, latLonToTileXY, latLonToTileXY, latLonToXY, latLonToXY, projectedToTileXY, tileXYToLatLon, tileXYToLatLon, tileXYToLatLon, tileXYtoProjected, xyToLatLon, xyToLatLon
-
-
-
-
Field Detail
-
styleSource
private final MapboxVectorStyle styleSource
-
-
Constructor Detail
-
MapboxVectorTileSource
public MapboxVectorTileSource(ImageryInfo info)
Create a newMapboxVectorTileSource
from anImageryInfo
- Parameters:
info
- The info to create the source from
-
-
Method Detail
-
getStyleSource
public MapboxVectorStyle getStyleSource()
Get the style source for this Vector Tile source- Returns:
- The source to use for styling
-
-