UNPKG

fssg.gis.core.ol

Version:

FSSG前端OpenLayer基础库

21 lines (20 loc) 634 B
import { Map as AbstractMap, MapOption, CoordType, PointOption } from 'fssg.gis.core.base'; import { Generic } from '../'; import olMap from 'ol/Map'; import olView from 'ol/View'; import Projection from 'ol/proj/Projection'; export interface OlMapOption extends MapOption { center: PointOption; zoom: number; coordType: CoordType; } export declare class Map extends AbstractMap<Generic> { private thisSymbol; constructor(option: OlMapOption); get map(): olMap; get view(): olView; /** 坐标系 */ get spatialReference(): Projection; private getView; } export default Map;