Commit a635ec6d authored by 彭俊龙's avatar 彭俊龙

坐标选择存储地图extent信息

parent 67a18254
{
"name": "panda-xform",
"version": "6.10.60",
"description": "6.10.60 数字输入框增加正整数格式逻辑",
"version": "6.10.61",
"description": "6.10.61 数字输入框增加正整数格式逻辑,坐标选择存储地图extent信息",
"keywords": [
"panda-xform"
],
......
......@@ -206,6 +206,15 @@ const Coordinate = (props) => {
}
}
setVisible(false)
if(view){
const mapExentJson = {
mapExtent: `${view.extent.xmin},${view.extent.ymin},${
view.extent.xmax
},${view.extent.ymax}`,
imageDisplay: `${view.width},${view.height},96`,
}
sessionStorage.setItem('mapExentJson', JSON.stringify(mapExentJson))
}
onChange(currentPointerCoordinate.join(','))
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment