public final class RasterTileSource
- Object
- HttpTileSource
- RasterTileSource
ImplementsTileSource
A networked raster (image) XYZ tile source. Use for keyless, zero-config
basemaps such as OpenStreetMap; the engine simply decodes and blits the
returned image rather than styling vector geometry.
Constructors
public RasterTileSource(String urlTemplate, int minZoom, int maxZoom) | Creates a raster source from a {z}/{x}/{y} image URL template. |
Methods
public static RasterTileSource openStreetMap() | The standard OpenStreetMap raster basemap (HTTPS, keyless). |
Inherited methods
Constructor details
RasterTileSource
public RasterTileSource(String urlTemplate, int minZoom, int maxZoom)Creates a raster source from a
{z}/{x}/{y} image URL template.Method details
openStreetMap
public static RasterTileSource openStreetMap()The standard OpenStreetMap raster basemap (HTTPS, keyless). Subject to
the OSM tile usage policy; supply a real tileset for production traffic.