File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/mapboxgl/mapping/webmap/v3 Expand file tree Collapse file tree 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 {
146146 maxzoom,
147147 sprite = ''
148148 } = this . _mapInfo ;
149- // if (this._mapInfo.center && crs === 'EPSG:3857') {
150- // center = Util.unproject(center);
151- // }
152149 center = this . mapOptions . center || center ;
153150 zoom = this . mapOptions . zoom || zoom ;
154151 bearing = this . mapOptions . bearing || bearing ;
@@ -823,7 +820,7 @@ export class WebMap extends mapboxgl.Evented {
823820 /**
824821 * 获取线宽
825822 * @param symbolStyle
826- * @returns 多线返回整体线宽,单线返回线宽
823+ * @returns { number } 多线返回整体线宽,单线返回线宽
827824 */
828825 _getLineWidth ( symbolStyle ) {
829826 if ( symbolStyle instanceof Array ) {
@@ -835,7 +832,7 @@ export class WebMap extends mapboxgl.Evented {
835832 /**
836833 * 计算多线符号的整体线宽
837834 * @param styles
838- * @returns
835+ * @returns { number } 整体线宽
839836 */
840837 _getWholeWidth ( styles ) {
841838 let topBoundary ;
You can’t perform that action at this time.
0 commit comments