Home > Web Front-end > H5 Tutorial > body text

HTML5之10 __使用 Canvas API创建 热点图

黄舟
Release: 2017-02-18 14:47:03
Original
1783 people have browsed it

使用Canvas API 可以创建许多应用:  图形、图表、图片编辑,  其中最奇妙的一个应用是修改或覆盖已有内容。 最流行的覆盖图被称为热点图。 热点图可以用在城市地图上来标记交通路况, 或者显示风暴的活动情况。

在地图上只需要将canvas 叠放在地图上显示即可。 实际上就是用  canvas 覆盖地图, 然后再基于相应的活动数据绘制出不同的热度级别。 

以下提供一个示例.



  HTML5 Canvas Example
  
  

HTML5 Canvas Example

Heatmap

Copy after login




 以上就是HTML5之10 __使用 Canvas API创建  热点图 的内容,更多相关内容请关注PHP中文网(www.php.cn)!


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!