Commit 5090a87f authored by Sparkf's avatar Sparkf 🏙️
Browse files

buschart: 放宽偏离限制到100米

parent ba6f4e20
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -301,8 +301,8 @@ export default {
                  dist = length(thisLine) * 1000 - p_nearest_loc * 1000;
                }
                
                //如果距离大于50米,则不显示
                if ((p_nearest.properties.dist * 1000 > 50)|(dist<50)) {
                //如果距离大于100米,则不显示
                if ((p_nearest.properties.dist * 1000 > 100)|(dist<100)) {
                  return {
                    value: [-1, 0],
                    name: f.id,