Skip to content

naivemap/mapbox-gl-layers

Repository files navigation

mapbox-gl-layers

Some implementations of mapbox's custom layer API.

Installing

EChartsLayer

npm i @naivemap/mapbox-gl-echarts-layer echarts

eg. echarts-scatter

ImageLayer

npm i @naivemap/mapbox-gl-image-layer proj4

eg. image-layer

GridLayer

npm i @naivemap/mapbox-gl-grid-layer proj4

eg. grid-layer

API Reference

Class Description
EChartsLayer Integrate the Lines graph and Scatter (bubble) chart of Apache ECharts.
ImageLayer Load a static image of any projection via Arrugator and Proj4js.
GridLayer Render colorful grid data.