Source: ol/source/basemap/Color.js

import WMTS from 'ol/source/WMTS';
import { urlsPng, tileGrid, projection } from './common';

/**
 * Layer source for the Basemap.at tile server.
 *
 * @extends {ol.source.WMTS}
 * @memberof module:webgis4u/ol/source/basemap
 */
class Color extends WMTS {
  /**
   * Constructor
   */
  constructor() {
    super({
      projection,
      tileGrid,
      urls: urlsPng,

      crossOrigin: 'anonymous',
      tilePixelRatio: 1,
      layer: 'geolandbasemap',
      style: 'normal',
      matrixSet: 'google3857',
      requestEncoding: ('REST'),
    });
  }
}

export default Color;