代码迁移

This commit is contained in:
zh
2025-07-03 13:54:01 +08:00
parent b04de8a084
commit 2a4da33e62
985 changed files with 358292 additions and 13 deletions

View File

@ -0,0 +1,117 @@
function getTemplateData(tools) {
return [
{
"name": "模板一",
"value": "模板一",
"id": "1",
margin: 0.03,
title: {
text: '标题一',
height: 0.05,
bgColor: '#5d5d5d',
color: '#ffffff',
show: true,
},
border: {
show: false,
url: '/custom/img/map-border1.svg',
width: 0.01,
color: ''
},
plottingScale: {
cell: 2,
color: '#ffffff',
show: true,
isSelected: false,
x: 0.87,
y: 0.97,
},
data: [
{
text: '',
x: 0.02,
y: 0.93,
isSelected: false,
show: true,
color: '#ffffff',
height: 0.03
},
{
text: '',
x: 0.02,
y: 0.97,
isSelected: false,
show: true,
color: '#ffffff',
height: 0.03
},
{
x: 0.02,
y: 0.1,
show: false,
isSelected: false,
url: '/custom/img/icon-compass1.svg',
width: 0.1,
height: 0.1
}
]
},
{
"name": "模板二",
"value": "模板二",
"id": "2",
margin: 0.03,
border: {
show: true,
url: '/custom/img/map-border2.svg',
width: 0.01,
},
title: {
text: '标题二',
height: 0.05,
bgColor: '#5d5d5d',
color: '#ffffff',
show: true,
},
plottingScale: {
cell: 2,
color: '#ffffff',
show: true,
isSelected: false,
x: 0.02,
y: 0.97,
},
data: [
{
text: '',
x: 0.88,
y: 0.93,
isSelected: false,
show: true,
color: '#ffffff',
height: 0.03
},
{
text: '',
x: 0.87,
y: 0.97,
isSelected: false,
show: true,
color: '#ffffff',
height: 0.03
},
{
x: 0.91,
y: 0.1,
show: true,
isSelected: false,
url: '/custom/img/icon-compass4.svg',
width: 0.1,
height: 0.1
}
]
}
]
}
export { getTemplateData };

1449
src/Global/MapPrint/index.js Normal file

File diff suppressed because it is too large Load Diff