mirror of https://gitee.com/antv-l7/antv-l7
Merge branch 'master' of https://github.com/antvis/L7
This commit is contained in:
commit
43aafd9e3c
|
@ -23,6 +23,7 @@
|
|||
"author": "xiaoiver",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@antv/geo-coord": "^1.0.8",
|
||||
"@antv/async-hook": "^2.1.0",
|
||||
"@antv/l7-core": "^2.5.39",
|
||||
"@antv/l7-source": "^2.5.39",
|
||||
|
|
|
@ -352,9 +352,10 @@ export default class Aspace extends React.Component {
|
|||
currentView.pitch = scene.getPitch();
|
||||
currentView.zoom = scene.getZoom();
|
||||
});
|
||||
|
||||
scene.getMapService().on('mapchange', (e: any) => {
|
||||
// @ts-ignore
|
||||
currentCamera = threeJSLayer.threeRenderService.getRenderCamera();
|
||||
currentCamera = threeJSLayer.getRenderCamera();
|
||||
currentView.pitch = scene.getPitch();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue