1.6.9 • Published 11 months ago

anne-of-green-gables v1.6.9

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

Angular component for 🍃 Neshan Leaflet map.

Developed by Rayan NiK team

About The Project

This project implements Neshan map as an angular library ,it has used Leaflet to implement the map. This library is written for the needs of our company. If you have any questions or suggestions to improve it ,create an issue.

Installation

npm:

Features

Use Laflet Maps API

You can access to Leaflet Maps L , map objects by using onInit.

 ngOnInit(): void {
    this.initMap();
  }
 initMap() {
    this._map = new leafletNeshan.Map('map', {
      key: this.key,
      center: this.center,
      zoom: this.zoom,
      poi: this.poi,
      maptype: this.mapType,
      traffic: this.traffic,
    });
    leafletNeshan.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
      attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
      maxZoom: 20
    }).addTo(this._map);
  }
}

Further help

Example here

1.6.9

11 months ago

1.6.8

1 year ago

1.6.4

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.6.7

2 years ago

1.6.6

2 years ago

1.6.5

2 years ago

1.4.3

2 years ago

1.5.1

2 years ago

1.4.2

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.2.2

3 years ago

1.3.0

2 years ago

1.2.0

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0-alpha.5

3 years ago

1.0.0-alpha.4

3 years ago

1.0.0-alpha.3

3 years ago

1.0.0-alpha.2

3 years ago

1.0.0-alpha.1

3 years ago

1.0.0-alpha.0

3 years ago

1.0.0

3 years ago