mirror of https://gitee.com/antv-l7/antv-l7
Shihui (#959)
* fix: 修复 pointLayer animate 模式 opacity 失效 * style: lint style
This commit is contained in:
parent
b2bf06ee86
commit
a4e1f18f14
|
@ -111,9 +111,9 @@ void main() {
|
||||||
} else {
|
} else {
|
||||||
gl_FragColor = filterColor(gl_FragColor);
|
gl_FragColor = filterColor(gl_FragColor);
|
||||||
}
|
}
|
||||||
|
gl_FragColor.a *= opacity;
|
||||||
} else {
|
} else {
|
||||||
gl_FragColor = filterColor(gl_FragColor);
|
gl_FragColor = filterColor(gl_FragColor);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(u_additive > 0.0) {
|
if(u_additive > 0.0) {
|
||||||
|
|
|
@ -104,6 +104,7 @@ export default class GaodeMapComponent extends React.Component {
|
||||||
// .size([10, 10, 100])
|
// .size([10, 10, 100])
|
||||||
.size(100)
|
.size(100)
|
||||||
.style({
|
.style({
|
||||||
|
// opacity: 0.1,
|
||||||
stroke: '#f00',
|
stroke: '#f00',
|
||||||
// strokeWidth: 10,
|
// strokeWidth: 10,
|
||||||
strokeWidth: 0,
|
strokeWidth: 0,
|
||||||
|
|
Loading…
Reference in New Issue