mirror of https://gitee.com/antv-l7/antv-l7
style: lint style
This commit is contained in:
parent
eadbd1397f
commit
3d71d65fa1
|
@ -6,7 +6,7 @@ const scene = new Scene({
|
|||
map: new GaodeMap({
|
||||
center: [ 105, 30 ],
|
||||
pitch: 0,
|
||||
zoom: 2,
|
||||
zoom: 2
|
||||
})
|
||||
});
|
||||
|
||||
|
|
|
@ -6,15 +6,15 @@ const scene = new Scene({
|
|||
map: new GaodeMap({
|
||||
center: [ 105, 30 ],
|
||||
pitch: 0,
|
||||
zoom: 2,
|
||||
zoom: 2
|
||||
})
|
||||
});
|
||||
|
||||
scene.on('loaded', () => {
|
||||
var xyzTileLayer = new window.AMap.TileLayer({
|
||||
const xyzTileLayer = new window.AMap.TileLayer({
|
||||
getTileUrl:
|
||||
'https://wprd0{1,2,3,4}.is.autonavi.com/appmaptile?x=[x]&y=[y]&z=[z]&size=1&scl=1&style=8<ype=11',
|
||||
zIndex: 100,
|
||||
zIndex: 100
|
||||
});
|
||||
scene.getMapService().map.add(xyzTileLayer);
|
||||
});
|
||||
|
|
|
@ -113,9 +113,9 @@ export default class GaodeMapComponent extends React.Component {
|
|||
// .active({ color: '#00f' });
|
||||
|
||||
setTimeout(() => {
|
||||
layer.shape('triangleColumn')
|
||||
layer.shape('triangleColumn');
|
||||
scene.render();
|
||||
}, 2000)
|
||||
}, 2000);
|
||||
|
||||
this.scene = scene;
|
||||
|
||||
|
|
Loading…
Reference in New Issue