chore: update version

This commit is contained in:
thinkinggis 2020-07-20 11:35:40 +08:00
parent 4265b16b18
commit cfc10cf9b2
4 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -1,2 +1,2 @@
const version = '2.2.22';
const version = '2.2.23';
export { version };

View File

@ -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;