| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -988,15 +988,6 @@ export class StyleUtils { | |||
| 988 | 988 | } | |
| 989 | 989 | } | |
| 990 | 990 | ||
| 991 | - /** | ||
| 992 | - * @function StyleUtils.stopCanvg | ||
| 993 | - * @description 调用Canvg实例的stop(); | ||
| 994 | - */ | ||
| 995 | - static stopCanvg() { | ||
| 996 | - this.canvgsV.forEach(v => v.stop()); | ||
| 997 | - this.canvgsV = []; | ||
| 998 | - } | ||
| 999 | - | ||
| 1000 | 991 | /** | |
| 1001 | 992 | * @function StyleUtils.getMarkerDefaultStyle 获取默认标注图层feature的样式 | |
| 1002 | 993 | * @param {string} featureType feature的类型 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,14 +24,6 @@ | |||
| 24 | 24 | units: ol.proj.Units.TILE_PIXELS | |
| 25 | 25 | }); | |
| 26 | 26 | }; | |
| 27 | - //解决 new ol.format.MVT({featureClass: ol.Feature})时,非3857显示异常的问题。ol即将发布的5.0版本已解决。 | ||
| 28 | - // eslint-disable-next-line no-unused-vars | ||
| 29 | - ol.format.MVT.prototype.readProjection = function(source) { | ||
| 30 | - return new ol.proj.Projection({ | ||
| 31 | - code: '', | ||
| 32 | - units: ol.proj.Units.TILE_PIXELS | ||
| 33 | - }); | ||
| 34 | - }; | ||
| 35 | 27 | //解决面填充时不能整版填充的问题。ol即将发布的5.0版本已解决。 | |
| 36 | 28 | // eslint-disable-next-line no-unused-vars | |
| 37 | 29 | ol.render.canvas.Replay.prototype.applyFill = function(state, geometry) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments