File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
src/service/PlotBase/SvgLoader/element Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 33/*
44 * @Author : your name
55 * @Date : 2021-08-30 18:10:16
6- * @LastEditTime : 2022-04-07 19:16:22
7- * @LastEditors : Do not edit
6+ * @LastEditTime : 2022-05-18 19:51:52
7+ * @LastEditors : zk
88 * @Description : In User Settings Edit
99 * @FilePath : \MapGISPlotBase\src\svg-loader\PathElement.js
1010 */
@@ -158,15 +158,14 @@ export default class PathElement extends RenderedElement {
158158 const tureMatrix = transformMatrix . clone ( ) . multiply ( matrix ) ;
159159 _coords = this . _getCoords ( tureMatrix ) ;
160160 // 部件竖立 (特殊逻辑)
161- if ( this . _dimModal . is3DTran ( ) ) {
161+ // if (this._dimModal.is3DTran()) {
162162 const _pnts = new Point (
163163 this . _dimModal . getTranslatePoint ( ) . x ,
164164 this . _dimModal . getTranslatePoint ( ) . y
165165 ) ;
166-
167166 _pnts . applyMatrix3 ( tureMatrix ) ;
168167 this . _dimModal . setTranslatePnt ( _pnts ) ;
169- }
168+ // }
170169 }
171170 } else {
172171 _coords = [ ] ;
Original file line number Diff line number Diff line change @@ -302,6 +302,7 @@ class SimpleArea extends BaseSimple {
302302 return ;
303303 }
304304
305+
305306 if ( useStyle === '13' ) {
306307 this . _nonAction ( child ) ;
307308 }
Original file line number Diff line number Diff line change 22/*
33 * @Author : your name
44 * @Date : 2021-09-14 18:57:30
5- * @LastEditTime : 2022-03-04 13:45:41
6- * @LastEditors : Do not edit
5+ * @LastEditTime : 2022-05-18 19:51:19
6+ * @LastEditors : zk
77 * @Description : In User Settings Edit
88 * @FilePath : \MapGISPlotBase\src\svg-loader\element\TSapnElement.js
99 */
@@ -159,15 +159,14 @@ class TSpanElement extends TextElement {
159159 textGeo . vertexArrayBuffer . applyMatrix4 ( matrix4_2 ) ;
160160
161161 // 处理文字对象的竖立(特殊逻辑)
162- if ( this . _dimModal . is3DTran ( ) ) {
162+ // if (this._dimModal.is3DTran()) {
163163 const _p = this . _dimModal . getTranslatePoint ( ) ;
164164 const tempY = - this . _y ;
165165 const p = new Point ( _p . x , tempY ) ;
166166 p . applyMatrix3 ( t1 ) ;
167167 p . applyMatrix3 ( t2 ) ;
168-
169168 this . _dimModal . setTranslatePnt ( new Point ( p . x , p . y ) ) ;
170- }
169+ // }
171170 }
172171
173172 getBoundingBox ( ) {
You can’t perform that action at this time.
0 commit comments