Socket
Socket
Sign inDemoInstall

inmap

Package Overview
Dependencies
44
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    inmap

Map visualization


Version published
Weekly downloads
119
increased by65.28%
Maintainers
2
Install size
29.4 MB
Created
Weekly downloads
 

Readme

Source

inMap

GitHub license inMap NPM downloads NPM downloads

介绍

inMap 是一款基于百度地图的大数据可视化库,专注于大数据方向的散点、热力图、网格、聚合等方式展示,致力于让大数据可视化变得简单易用。

Features

  • 高性能.
  • 多线程.
  • 多图层叠加.
  • 支持GeoJSON
  • 友好的 API.
  • 可以自定义主题.

文档

http://inmap.talkingdata.com/

示例效果图

image image

首先引用地图

<script type="text/javascript" src="http://api.map.baidu.com/api?v=3.0&ak=0lPULNZ5PmrFVg76kFuRjezF"></script>

安装

Using npm:

npm install inmap --save

或使用

<script type="text/javascript" src="http://unpkg.com/inmap/dist/inmap.min.js"></script>

示例

<script>
var inmap = new inMap.Map({
    id: 'allmap',  
    skin: 'Blueness',
    center: [105.403119, 38.028658], // center of map
    zoom: {
        value: 5, // level of map
        show: true, // whether to display the zoom button
        max: 18, 
        min: 5
    }
})
</script>
examples

预览当前项目所有demo

# 从 GitHub 下载后,安装依赖
npm install

# 编译代码
npm run dev & npm run start

在浏览器地址栏输入:http://localhost:8088/examples/index.html

Major Contributors

NameAvatar
fengluhome
Aresn
ChowBu
cheekahao
chenli8

欢迎加入QQ反馈问题: 618308202

License

Apache License 2.0

Copyright (c) 2015-present, TalkingData

Keywords

FAQs

Last updated on 04 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc