mirror of https://gitee.com/antv-l7/antv-l7
chore: update version
This commit is contained in:
parent
4265b16b18
commit
cfc10cf9b2
|
@ -320,7 +320,10 @@ scene.setPitch(pitch);
|
|||
- `extent` { array} 经纬度范围 [[minlng,minlat],[maxlng,maxlat]]
|
||||
|
||||
```javascript
|
||||
scene.fitBounds([[112, 32], [114, 35]]);
|
||||
scene.fitBounds([
|
||||
[112, 32],
|
||||
[114, 35],
|
||||
]);
|
||||
```
|
||||
|
||||
### getContainer
|
||||
|
|
|
@ -354,7 +354,10 @@ scene.setPitch(pitch);
|
|||
- `extent` { array} 经纬度范围 [[minlng,minlat],[maxlng,maxlat]]
|
||||
|
||||
```javascript
|
||||
scene.fitBounds([[112, 32], [114, 35]]);
|
||||
scene.fitBounds([
|
||||
[112, 32],
|
||||
[114, 35],
|
||||
]);
|
||||
```
|
||||
|
||||
### removeLayer
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
const version = '2.2.22';
|
||||
const version = '2.2.23';
|
||||
export { version };
|
||||
|
|
|
@ -141,8 +141,8 @@ export default class TextLayerDemo extends React.Component {
|
|||
});
|
||||
scene.addLayer(layer);
|
||||
this.scene = scene;
|
||||
layer.on('remapping', ()=>{
|
||||
console.log('remapinbg event')
|
||||
layer.on('remapping', () => {
|
||||
console.log('remapinbg event');
|
||||
});
|
||||
const gui = new dat.GUI();
|
||||
this.gui = gui;
|
||||
|
|
Loading…
Reference in New Issue