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
我直接复制的https://mapv.baidu.com/gl/examples/editor.html#heat-grid.html这里的示例代码。 将数据源改成了我自己的,大概有4300多个经纬度信息。 修改了部分属性如下:
var grid = new mapvgl.HeatGridLayer({ max: 110000, // 最大阈值 min: 10000, // 最小阈值 gridSize: 150, gradient: { // 对应比例渐变色 0: 'rgb(50, 50, 256)', 0.3: 'rgb(178, 202, 256)', 1: 'rgb(256, 256, 256)' }, riseTime: 1800, // 楼块初始化升起时间 maxHeight: 10000, // 最大高度 minHeight: 100 // 最小高度 });
然后打开地图,发现会出现,远处较低的柱状图,出现在近处较高的柱状图前面,产生了透视效果。
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
正常情况应该是近处较高的柱状图,遮挡远处较低柱状图才对。就如官方示例的这样
No branches or pull requests
我直接复制的https://mapv.baidu.com/gl/examples/editor.html#heat-grid.html这里的示例代码。
将数据源改成了我自己的,大概有4300多个经纬度信息。
修改了部分属性如下:
然后打开地图,发现会出现,远处较低的柱状图,出现在近处较高的柱状图前面,产生了透视效果。
The text was updated successfully, but these errors were encountered: