Class OsmLayer

All Implemented Interfaces:
MapLayer

public final class OsmLayer extends AbstractTiledLayer<OsmLayerParam>
Strategy object for rendering Osm based layers.
  • Constructor Details

    • OsmLayer

      public OsmLayer(@Nonnull 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 Details