Class OsmLayer

  • All Implemented Interfaces:
    MapLayer

    public final class OsmLayer
    extends AbstractTiledLayer
    Strategy object for rendering Osm based layers.
    • Constructor Detail

      • OsmLayer

        public OsmLayer​(@Nonnull
                        java.util.concurrent.ForkJoinPool forkJoinPool,
                        @Nonnull
                        StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
                        @Nonnull
                        OsmLayerParam param,
                        @Nonnull
                        com.codahale.metrics.MetricRegistry registry,
                        @Nonnull
                        Configuration configuration)
        Constructor.
        Parameters:
        forkJoinPool - the thread pool for doing the rendering.
        styleSupplier - strategy for loading the style for this layer.
        param - the information needed to create OSM requests.
        registry - the metrics registry.
        configuration - the configuration.
    • Method Detail

      • getRenderType

        public MapLayer.RenderType getRenderType()
        Description copied from interface: MapLayer
        Specify whether layer should be rendered as PNG, JPEG or SVG.
        Returns:
        render type