Skip to content

huiyan-fe/mapv

Repository files navigation

Mapv - 地理信息可视化开源库 npm version

logo

主页: http://mapv.baidu.com/

备用主页: huiyan-fe.github.io/mapv/

简介 English

Mapv 是一款地理信息可视化开源库,可以用来展示大量地理信息数据,点、线、面的数据,每种数据也有不同的展示类型,如直接打点、热力图、网格、聚合等方式展示数据。 当前是Mapv 2.0的预发布版本,当前api是不稳定的并有可能随时发生变化。

示例

logo

相关文档

API 参考

支持环境

Mapv使用canvas开发,支持现在被称为“现代”浏览器, 通常兼容除了IE8及IE以下版本的其他大部分浏览器。

安装使用

NPM

如果你使用NPM开发环境,可使用NPM 安装,Mapv 能很好地和诸如 Webpack、Browserify 或 fis 的 CommonJS 模块打包器配合使用。

npm install mapv

安装使用

你可以直接加载官网(mapv.baidu.com)最新的js脚本文件。如:

<script src="http://mapv.baidu.com/build/mapv.min.js"></script>

<script src="http://huiyan-fe.github.io/mapv/build/mapv.min.js"></script>

你也可以下载最后发布的版本。也可以使用示例中的版本。

初始化环境

npm install

开发

npm test

发布

npm run publish

谁在使用

百度慧眼

百度交通云

百度地图开放平台

联系我们

邮箱: mapv@baidu.com

QQ群: 321519841

许可证

Copyright (c) 2016, Baidu, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the Baidu, Inc. nor the names of it contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.