npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

inmap

v2.3.3

Published

Map visualization

Downloads

571

Readme

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

或使用 全局引用,inMap 会被注册为一个全局变量:

<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

|Name|Avatar| |---|---| |fengluhome | | |Aresn | | |ChowBu | | |cheekahao | | |chenli8 | |

欢迎加入QQ反馈问题: 618308202

Links

License

Apache License 2.0

Copyright (c) 2015-present, TalkingData