Skip to content
New issue

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

station_range 超过 10,外部的栅格就没有数据填充 #2

Open
xiaobai1017 opened this issue Nov 23, 2021 · 1 comment
Open

Comments

@xiaobai1017
Copy link

image
let pm25IDWOptions = {
// opacity - the opacity of the IDW layer
// cellSize - height and width of each cell, 25 by default
// exp - exponent used for weighting, 1 by default
// max - maximum point values, 1.0 by default
// gradient - color gradient config, e.g. {0.4: 'blue', 0.65: 'lime', 1: 'red'}
opacity: 0.5,
maxZoom: mapOptions.maxZoom,
minZoom: mapOptions.minZoom,
cellSize: 5,
exp: 2,
gradient: pm25Gradient,
dataType: 2,
station_range: 20,
minVal: 0.0,
maxVal: 150.0
};

@HuangLiPang
Copy link
Owner

@xiaobai1017
I think this is because the drawing algorithm and the indicator algorithm are not the same. Feel free to change it and make a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants