|
@@ -19,7 +19,6 @@ interface ServicePosition {
|
|
|
normal: string
|
|
|
|
|
|
globalVisibility: boolean
|
|
|
- altitudeAboveGround: number
|
|
|
type: string,
|
|
|
mat: string
|
|
|
fontSize: number,
|
|
@@ -40,7 +39,6 @@ export interface TaggingPosition {
|
|
|
lineHeight: number,
|
|
|
globalVisibility: boolean
|
|
|
|
|
|
- altitudeAboveGround: number
|
|
|
type: TaggingPositionType
|
|
|
mat: Tagging3DProps['mat']
|
|
|
}
|
|
@@ -62,7 +60,6 @@ const serviceToLocal = (position: ServicePosition, taggingId?: Tagging['id']): T
|
|
|
},
|
|
|
fontSize: position.fontSize || 12,
|
|
|
lineHeight: position.lineHeight || 1,
|
|
|
- altitudeAboveGround: position.altitudeAboveGround
|
|
|
})
|
|
|
|
|
|
const localToService = (position: TaggingPosition, update = false): PartialProps<ServicePosition, 'tagPointId'> => ({
|
|
@@ -73,7 +70,6 @@ const localToService = (position: TaggingPosition, update = false): PartialProps
|
|
|
globalVisibility: position.globalVisibility,
|
|
|
type: position.type,
|
|
|
mat: position.mat && JSON.stringify(position.mat),
|
|
|
- altitudeAboveGround: position.altitudeAboveGround,
|
|
|
normal: JSON.stringify(position.normal),
|
|
|
fontSize: position.fontSize,
|
|
|
lineHeight: position.lineHeight
|