Skip to content

dengchengjiang/inmap

 
 

Repository files navigation

inMap

GitHub license inMap NPM downloads NPM downloads

Introduce

inMap is a big data visualization library based on Baidu map. It focuses on the scatter, heat map, grid and aggregation algorithm. Make it easy to use.

Features

  • High performance.
  • Worker.
  • Multi-layer overlay.
  • Friendly API.
  • Themes.

Docs

http://inmap.talkingdata.com/

Overview

Install

Using npm:

npm install inmap --save

Using a script tag for global use:

<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=0lPULNZ5PmrFVg76kFuRjezF"></script>
<script type="text/javascript" src="//unpkg.com/inmap/dist/inmap.min.js"></script>

Usage

<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>

Major Contributors

Name Avatar
fengluhome
Aresn
ChowBu
cheekahao
chenli8

Welcome to join our QQ group to discuss questions: 618308202

Links

License

Apache License 2.0

Copyright (c) 2015-present, TalkingData

Packages

No packages published

Languages

  • JavaScript 97.4%
  • CSS 2.6%