heli-agri
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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
  })
});

Readme

Keywords

Package Sidebar

Install

npm i heli-agri

Weekly Downloads

7

Version

1.1.1

License

ISC

Unpacked Size

8.56 MB

Total Files

1120

Last publish

Collaborators

  • heliware-sgr