File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ export const PI = 3.1415926535897932384626; // PI
88export const a = 6378245.0 ; // 北京54坐标系长半轴a=6378245m
99export const ee = 0.00669342162296594323 ;
1010
11- import _proj4 from '../node_modules/proj4'
11+ // import _proj4 from '../node_modules/proj4'
1212import _ol from '../node_modules/openlayers'
1313// import _olx from '../node_modules/openlayers/externs'
1414// import _olx from '../node_modules/openlayers/externs/olx'
1515
1616import _config from './config/config'
1717
1818export const ol = _ol ;
19- export const proj4 = _proj4 ;
19+ // export const proj4 = _proj4;
2020// export const olx = _olx;
2121export const config = _config
Original file line number Diff line number Diff line change 11const HMap = { } ;
22HMap . version = require ( '../package.json' ) . version ;
3- import { ol , proj4 } from './constants'
3+ import { ol } from './constants'
44import Map from './map/Map'
55import Layer from './layer/Layer'
66import Feature from './feature/feature'
@@ -12,7 +12,7 @@ import Measure from './plugins/Measure'
1212import MeasureTool from './plugins/MeasureTool'
1313
1414HMap . ol = ol ;
15- HMap . proj4 = proj4 ;
15+ // HMap.proj4 = proj4;
1616HMap . Map = Map ;
1717HMap . Layer = Layer ;
1818HMap . Feature = Feature ;
You can’t perform that action at this time.
0 commit comments