This commit is contained in:
thinkinggis 2019-11-14 20:28:30 +08:00
parent 5faac2306c
commit e21188ecbe
2 changed files with 4 additions and 2 deletions

View File

@ -65,7 +65,7 @@ const colorObj = {
'#F5E4EF', '#F7CDDF',
'#ED9CBE', '#D1749B'
],
color4: [ '#F7B74A', '#FF4818', '#FFF598', '#F27DEB', '#8C1EB2', '#421EB2' ]
color4: [ '#421EB2', '#8C1EB2', '#F27DEB', '#FFF598', '#F7B74A', '#FF4818' ]
}
fetch('https://gw.alipayobjects.com/os/basement_prod/d3564b06-670f-46ea-8edb-842f7010a7c6.json')

View File

@ -24,7 +24,9 @@ export default class LayerService implements ILayerService {
public add(layer: ILayer) {
this.layers.push(layer);
// layer.init();
debugger
this.initPlugin(layer);
layer.init();
}
public initLayers() {