File tree 1 file changed +2
-5
lines changed
src/mapboxgl/mapping/webmap/v3
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,6 @@ export class WebMap extends mapboxgl.Evented {
146
146
maxzoom,
147
147
sprite = ''
148
148
} = this . _mapInfo ;
149
- // if (this._mapInfo.center && crs === 'EPSG:3857') {
150
- // center = Util.unproject(center);
151
- // }
152
149
center = this . mapOptions . center || center ;
153
150
zoom = this . mapOptions . zoom || zoom ;
154
151
bearing = this . mapOptions . bearing || bearing ;
@@ -823,7 +820,7 @@ export class WebMap extends mapboxgl.Evented {
823
820
/**
824
821
* 获取线宽
825
822
* @param symbolStyle
826
- * @returns 多线返回整体线宽,单线返回线宽
823
+ * @returns { number } 多线返回整体线宽,单线返回线宽
827
824
*/
828
825
_getLineWidth ( symbolStyle ) {
829
826
if ( symbolStyle instanceof Array ) {
@@ -835,7 +832,7 @@ export class WebMap extends mapboxgl.Evented {
835
832
/**
836
833
* 计算多线符号的整体线宽
837
834
* @param styles
838
- * @returns
835
+ * @returns { number } 整体线宽
839
836
*/
840
837
_getWholeWidth ( styles ) {
841
838
let topBoundary ;
You can’t perform that action at this time.
0 commit comments