Giter VIP home page Giter VIP logo

gridmap's Introduction

gridmap

baidu map plus #说明 ###该js插件是工作在百度地图api上层的代码,需要有百度地图的支持。GridmapOverlay继承百度api的overlay对象,在加载该文件前必须加载百度地图api。 #设计 ###代码的设计**参考了heatmap.js,区别是做了简化和单项功能强化。去掉了heatmap.js中颜色块之间的叠加融合,并把圆颜色区域改成了方块颜色区域。 #使用 *1、两个粒度的数据var gridmapOverlay = new BMapLib.GridmapOverlay({ Ismonochrome: false, lng_dif: xxxxx, lat_dif: xxxxx, IsTwoClass: true}); 之后使用setLargeSmallData(largedata,smalldata)--->map.addOverlay(this.gridmapOverlay);; *2、一个粒度的数据var gridmapOverlay = new BMapLib.GridmapOverlay({ Ismonochrome: false, lng_dif: xxxxx, lat_dif: xxxxx, IsTwoClass: false}); 之后使用setDataSet(data)--->map.addOverlay(this.gridmapOverlay);; *3、另外Ismonochrome=false和gradient是一组,Ismonochrome=true和color是一组。

gridmap's People

Contributors

clip-rain avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.