diff --git a/packages/layers/src/point/shaders/animate/wave_frag.glsl b/packages/layers/src/point/shaders/animate/wave_frag.glsl index 904af4a6ea..84a1e28c09 100644 --- a/packages/layers/src/point/shaders/animate/wave_frag.glsl +++ b/packages/layers/src/point/shaders/animate/wave_frag.glsl @@ -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); } } diff --git a/stories/Map/components/mapCenter.tsx b/stories/Map/components/mapCenter.tsx index 805a4f64f5..01ee647a08 100644 --- a/stories/Map/components/mapCenter.tsx +++ b/stories/Map/components/mapCenter.tsx @@ -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,