All Projects → alex2wong → Mapbox Plugins

alex2wong / Mapbox Plugins

Licence: bsd-2-clause
Customized Mapbox 🌏 plugins, including game 🎮 control, canvasOverlayer , scene animation. using ES6

Programming Languages

javascript
184084 projects - #8 most used programming language
es6
455 projects

Projects that are alternatives of or similar to Mapbox Plugins

Mappa
A canvas wrapper for Maps 🗺 🌍
Stars: ✭ 290 (+192.93%)
Mutual labels:  mapbox, canvas
Whereareyou
Real time location tracker using Android App & Firebase with Mapbox
Stars: ✭ 96 (-3.03%)
Mutual labels:  mapbox
Vega
A visualization grammar.
Stars: ✭ 9,554 (+9550.51%)
Mutual labels:  canvas
Packages
The default package source of the Zeek Package Manager
Stars: ✭ 94 (-5.05%)
Mutual labels:  plugins
Mapbox Gl Controls
Stars: ✭ 93 (-6.06%)
Mutual labels:  mapbox
Bouncing Balls
Bouncing balls simulation using plain JavaScript
Stars: ✭ 96 (-3.03%)
Mutual labels:  canvas
Vue2 Vue Router2 Webpack2
《从零搭建 vue2 vue-router2 webpack4 工程》《从零搭建 vue2 vue-router2 webpack3 工程》《搭建 vue2 vue-router2 webpack3 多入口工程》
Stars: ✭ 90 (-9.09%)
Mutual labels:  webpack2
Taro Makaron Demo
手把手教你用Taro框架写一个图像处理类微信小程序。
Stars: ✭ 99 (+0%)
Mutual labels:  canvas
React Hot Ts
Demo of React Hot Reloading + TypeScript + Webpack2
Stars: ✭ 96 (-3.03%)
Mutual labels:  webpack2
Fe Daily Record
📚前端书籍汇集点 + 每日好文推荐 + 公开课学习资料 + 各种大会资料
Stars: ✭ 94 (-5.05%)
Mutual labels:  canvas
Webpack Core Usage
webpack2完整系列课程,欢迎阅读。同时欢迎移步我的react全家桶文章全集: https://github.com/liangklfangl/react-article-bucket
Stars: ✭ 94 (-5.05%)
Mutual labels:  webpack2
Webpack Conditional Loader
C conditionals directive for JavaScript
Stars: ✭ 93 (-6.06%)
Mutual labels:  webpack2
Canvas2pdf
Export your HTML canvas to PDF
Stars: ✭ 96 (-3.03%)
Mutual labels:  canvas
Kanvas
Make canvas easier to use in Kotlin 😊
Stars: ✭ 93 (-6.06%)
Mutual labels:  canvas
Supybot Plugins
Collection of plugins for Supybot/Limnoria I wrote or forked.
Stars: ✭ 96 (-3.03%)
Mutual labels:  plugins
Fun Photo Combine
一个有趣的图片合成工具(生成的图片在QQ缩略图与大图表现不同)
Stars: ✭ 90 (-9.09%)
Mutual labels:  canvas
My Animate
使用 HTML5 / Canvas / CSS3 制作各种动画效果
Stars: ✭ 93 (-6.06%)
Mutual labels:  canvas
Airinggo
🐈 基于 JS 的五子棋 AI 实现
Stars: ✭ 95 (-4.04%)
Mutual labels:  canvas
Vueneue
DEPRECATED: go to UVue
Stars: ✭ 99 (+0%)
Mutual labels:  plugins
Steal
Gets JavaScript
Stars: ✭ 1,353 (+1266.67%)
Mutual labels:  plugins

mapbox-plugins Netlify Status license

Customized Mapbox plugins, including game control, canvasOverlayer, scene animation

https://alex2wong.github.io/mapbox-plugins/

API Docs

For more detailed wiki, pls read issue blogs:

Note: pls visit all demo with HTTPS..

Point animation

Custom popup/Route animation

Chartjs integration

Glow animation

Rbush demo

Canvas Line Style canvas line style which can be integrate to any map/chart lib.

Voxelize terrain data 👆 Voxelize terrain data from a height image.

Extrude typhoon image

👆 Extrude typhoon radar image.

Animated Lines

👆 Animated Lines/Particle system.

Online demo

Demo Code
Sprite track DEMO view code
Custom dom overlay DEMO view code
R-tree search (5000 rectangles) DEMO view code
Global Wind Layer. render 1w point animation with Canvas view code
Integrate with Chart.js view code
Glow animation view code
Cool Route Animation view code
Canvas Line Style view code
Canvas Staring Demo
Tilting Ui Marker view code
Threejs Typhoon view code
Line_Pattern view code

install and use

npm i mapbox-plugins

For node.js:

var Mapbox = require('mapbox-plugins')
console.warn(Mapbox.Config);

More often, for es6 development:

import { Config, CanvasOverlayer } from 'mapbox-plugins';
var canvasLayer = new CanvasOverlayer({
    map: map, // bind canvasOverlay with mapbox map instance..
});

run locally

npm install

npm run dev

then visit from http://localhost:8080/examples/, HotModuleReload supported.

npm run rbuild

to build all plugins into Mapbox.umd.js/Mapbox.esm.js

how to use

plugins provide canvasOverlay, domOverlay ,Sprite, gameControl extension etc. for example:

// create a CanvasOverlayer on Mapbox map instance..
var canvasLayer = new Mapbox.CanvasOverlayer({
    map: map,
    shadow: false,
    keepTrack: true,
    blurWidth: 4
});

// create a Drone inherites Sprite Class
var drone = new Mapbox.Drone({
    direction: 45,
    icon: "drone.jpg"
});

// add keyboard control to Sprite.
Mapbox.Controllers.gameControl(drone);
function update(){
    drone.updateStatus();
    // render drone on canvasLayer.
    canvasLayer.redraw([drone]);
    requestAnimationFrame(update);
}
update();

☆Star, Enhancement and PR are welcome :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].