We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
版本为最新 实例代码如下: //静态路径pathvar pathLayer = new ODLineLayer(this.layerName + '.path', data, { animation: false, curveness: this.trailLineOpt.curveness, globalCompositeOperation: 'lighter', symbol: this.pathLineStyleOpt }).addTo(map) //粒子流光效果 var trailLayer = new ODLineLayer(this.layerName + '.trail', data, { animationDuration: this.trailLineOpt.animationDuration, animation: true, curveness: this.trailLineOpt.curveness, // random: true, trail: 100, symbol: this.trailLineStyleOpt }).addTo(map) pathLayer .config({curveness:5}) trailLayer.setOption({curveness:5}) 以上两句不能手动更新图层的curveness
The text was updated successfully, but these errors were encountered:
No branches or pull requests
版本为最新
实例代码如下:
//静态路径pathvar pathLayer = new ODLineLayer(this.layerName + '.path', data, {
animation: false,
curveness: this.trailLineOpt.curveness,
globalCompositeOperation: 'lighter',
symbol: this.pathLineStyleOpt
}).addTo(map)
//粒子流光效果
var trailLayer = new ODLineLayer(this.layerName + '.trail', data, {
animationDuration: this.trailLineOpt.animationDuration,
animation: true,
curveness: this.trailLineOpt.curveness,
// random: true,
trail: 100,
symbol: this.trailLineStyleOpt
}).addTo(map)
pathLayer .config({curveness:5})
trailLayer.setOption({curveness:5})
以上两句不能手动更新图层的curveness
The text was updated successfully, but these errors were encountered: