Class WMTSLayer

    • Constructor Detail

      • WMTSLayer

        protected WMTSLayer​(@Nullable
                            java.util.concurrent.ForkJoinPool forkJoinPool,
                            @Nullable
                            StyleSupplier<org.geotools.coverage.grid.GridCoverage2D> styleSupplier,
                            @Nonnull
                            WMTSLayerParam param,
                            @Nullable
                            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 WMTS requests.
        registry - the metrics registry.
        configuration - the configuration.
    • Method Detail

      • createRestURI

        public static java.net.URI createRestURI​(java.lang.String matrixId,
                                                 int row,
                                                 int col,
                                                 WMTSLayerParam layerParam)
                                          throws java.net.URISyntaxException
        Prepare the baseURL to make a request.
        Parameters:
        matrixId - matrixId
        row - row
        col - cold
        layerParam - layerParam
        Throws:
        java.net.URISyntaxException
      • getRenderType

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