|
@@ -1559,6 +1559,10 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
bus.emit('focus', e.state)
|
|
|
})
|
|
|
|
|
|
+ path.addEventListener('dragLineLen',(e)=>{
|
|
|
+ bus.emit('changeLineHeight', path.lineHeight)
|
|
|
+ })
|
|
|
+
|
|
|
}
|
|
|
let funs = getMeasureFunction(path, bus)
|
|
|
|
|
@@ -1815,7 +1819,9 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
|
|
|
pos: tag.position.clone()
|
|
|
})
|
|
|
})
|
|
|
-
|
|
|
+ tag.addEventListener('dragLineLen',(e)=>{
|
|
|
+ bus.emit('changeLineHeight', tag.lineLength)
|
|
|
+ })
|
|
|
|
|
|
|
|
|
tag.functions = {
|