1.1.1 • Published 4 months ago

heli-agri v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

Heli-Agri-PMB

Heli-Agri is a high-performance, feature-packed library for creating interactive maps on the web. It can display map tiles, vector data and markers loaded from any source on any web page. Heli-Agri has been developed to further the use of geographic information of all kinds.

Getting Started

Install the heli-agri package:

npm install heli-agri

Import just what you need for your application:

import Map from 'heli-agri/dist/Map';
import View from 'heli-agri/dist/View';
import TileLayer from 'heli-agri/dist/layer/Tile';
import XYZ from 'heli-agri/dist/source/XYZ';

new Map({
  target: 'map',
  layers: [
    new TileLayer({
      source: new XYZ({
        url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
      })
    })
  ],
  view: new View({
    center: [0, 0],
    zoom: 2
  })
});
1.1.1

4 months ago

1.0.5

4 months ago

1.0.4

10 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

0.0.1

11 months ago