import * as React from 'react'; import OlBaseLayer from 'ol/layer/Base'; import OlSource from 'ol/source/Source'; import { IRolContext } from '../RolContext'; import { ISnapshotSource } from '@gisosteam/aol/source/IExtended'; export interface IBaseLayerProps { /** * unique id is mandatory. */ uid: string; /** * Name. */ name?: string; /** * Description. */ description?: string; /** * type: BASE, OVERLAY or WORK. */ type?: string; /** * Extent. */ extent?: [number, number, number, number]; /** * Order position. */ order?: number; /** * Visible. */ visible?: boolean; /** * Opacity. */ opacity?: number; /** * Source. */ source?: ISnapshotSource; } export declare class BaseLayer
extends React.Component
{
static contextType: React.Context