UNPKG

@tuoyuan/map-adapter-lib

Version:

地图适配器库

2 lines (1 loc) 729 B
"use strict";var i=Object.defineProperty;var a=(e,t,s)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var r=(e,t,s)=>a(e,typeof t!="symbol"?t+"":t,s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./MapEvent.js");class o extends h.EventBus{constructor(){super(...arguments);r(this,"_ctx",null);r(this,"_dom",null);r(this,"_zoom",0);r(this,"_rotate",0);r(this,"_height",0);r(this,"_pitch",0)}get dom(){return this._dom}get zoom(){return this._zoom}getZoom(){return this._zoom}getRotate(){return this._rotate}getHeight(){return this._height}getPitch(){return this._pitch}setCtx(s){this._ctx||(this._ctx=s)}}class n extends o{}exports.AbstractMap=n;exports.BaseMap=o;