fix: 地图样式修改

This commit is contained in:
zhangyu
2022-09-28 11:03:40 +08:00
parent 1f62948cc4
commit 8d790d6b1c
771 changed files with 4306 additions and 16 deletions

View File

@@ -301,7 +301,7 @@ export default {
},
pointAnimation (timeStep) {
const opacity = 0.5 + (timeStep % 1000) / 1000 / 2
this.map.setPaintProperty('pointLayer', 'circle-opacity', [
this.map && this.map.setPaintProperty('pointLayer', 'circle-opacity', [
'step',
['get', 'color'],
0.5,

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More