Skip to content

Commit c3db20b

Browse files
committed
# 1 fix bug
1 parent 7896c6e commit c3db20b

File tree

5 files changed

+6023
-7
lines changed

5 files changed

+6023
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.1.4 (2017.12.26)
2+
3+
* 锁定相关包版本,解决observable失效问题。
4+
* 暂时删除mapbox样式扩展
5+
16
## 1.1.3 (2017.10.16)
27

38
* 修复投影转换后比例尺单位错误问题。

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ol-extent",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "a JavaScript library for openlayers extent",
55
"main": "dist/olExtent.js",
66
"module": "src/index.js",
@@ -23,7 +23,6 @@
2323
"olLayerUtils": "src/layer/layerUtils.js",
2424
"olRender3D": "src/render/render3D.js",
2525
"olStyleFactory": "src/style/factory.js",
26-
"olStyleMapBoxStyle": "src/style/mapBoxStyle.js",
2726
"olPopover": "src/overlay/popover.js",
2827
"olSourceBaidu": "src/source/Baidu.js",
2928
"olSourceGaode": "src/source/Gaode.js",
@@ -65,8 +64,8 @@
6564
"lodash": "^4.17.4",
6665
"mapbox-to-css-font": "^2.0.3",
6766
"mapbox-to-ol-style": "^3.1.7",
68-
"nature-dom-util": "^1.1.0",
69-
"observable-emit": "^1.0.1",
67+
"nature-dom-util": "1.1.0",
68+
"observable-emit": "1.0.1",
7069
"openlayers": "^4.3.1",
7170
"pepjs": "^0.4.3",
7271
"screenfull": "^3.3.1",

src/style/mapboxStyle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* Created by FDD on 2017/10/19.
33
* @desc 兼容的mapbox地图样式
44
*/
5-
import mapboxGlFunction from '@mapbox/mapbox-gl-style-spec/function'
5+
// import mapboxGlFunction from '@mapbox/mapbox-gl-style-spec/function'
66
// import mapbox2css from 'mapbox-to-css-font'
77
import applyStyleFunction from 'mapbox-to-ol-style'
8-
applyStyleFunction.mapboxGlFunction = mapboxGlFunction
8+
// applyStyleFunction.mapboxGlFunction = mapboxGlFunction
99
export default applyStyleFunction

src/tools/Geofence.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ ol.tools.Geofence.prototype.clear = function () {
5757
}
5858

5959
ol.tools.Geofence.prototype.creatWatcherInternel = function () {
60-
6160
}
6261

6362
/**

0 commit comments

Comments
 (0)