mirror of https://gitee.com/antv-l7/antv-l7
feat: 修复水波点选中高亮在边缘的显示错误
This commit is contained in:
parent
8e83dfa631
commit
2132c1927a
|
@ -44,7 +44,7 @@ void main() {
|
|||
gl_FragColor = vec4(v_color.xyz, v_color.a * opacity * intensity);
|
||||
|
||||
// TODO: 优化在水波纹情况下的拾取
|
||||
if(d < 0.45) {
|
||||
if(d < 0.5) {
|
||||
gl_FragColor = filterColor(gl_FragColor);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ export default class GaodeMapComponent extends React.Component {
|
|||
center: aspaceLnglat,
|
||||
// pitch: 0,
|
||||
pitch: 40,
|
||||
// style: 'dark',
|
||||
style: 'dark',
|
||||
zoom: 17,
|
||||
// dragEnable: false
|
||||
}),
|
||||
|
@ -105,7 +105,8 @@ export default class GaodeMapComponent extends React.Component {
|
|||
)
|
||||
.shape('circle')
|
||||
// .color('#0f9')
|
||||
.color('#4169E1')
|
||||
// .color('#4169E1')
|
||||
.color('#4cfd47')
|
||||
// .size([10, 10, 100])
|
||||
.size(100)
|
||||
// .animate({
|
||||
|
@ -113,7 +114,7 @@ export default class GaodeMapComponent extends React.Component {
|
|||
// enable: false,
|
||||
// // type: 'www'
|
||||
// })
|
||||
// .animate(true)
|
||||
.animate(true)
|
||||
.active({ color: '#00f' })
|
||||
.style({
|
||||
// opacity: 0.5,
|
||||
|
|
Loading…
Reference in New Issue