dingi-gl

0.1.4 • Public • Published

we can initialize a map by using dingi-gl.

Add dingi-gl by npm package manager

npm install dingi-gl --save

 
import dingigl from 'dingi-gl';
 
dingigl.apiToken = 'pk.eyJ1IjoidG9ycGVkbyIsImEiOiJjamtmMWpwOHYwM3o2M2ttbGttaHhkYWFsIn0.27u87f1bn5X0hfylI9JbIQ';
var map = new dingigl.Map({
        container: 'map',
    style: 'https://tiles.dingi.live/styles/Combined/style.json',
        center: [90.4171, 23.7802],
        zoom: 14 ,
    });

Readme

Keywords

none

Package Sidebar

Install

npm i dingi-gl

Weekly Downloads

2

Version

0.1.4

License

none

Unpacked Size

12.1 MB

Total Files

414

Last publish

Collaborators

  • shafikulz