5.0.0 • Published 4 years ago
ng-esri-map v5.0.0
NgEsriMap component
Easy to use component which helps to integrate and control ESRI map inside your Angular application
Life example
You can find here
Basic usage
- Import
NgEsriMapModule
inside your Application - Insert map component into template like this:
<div #myMap="ngEsriMap" ngEsriMap [ngEsriMapImageLayers]="layers" ></div>
Control map inside your component:
import { Component, ViewChild } from '@angular/core'; import { EsriMapDirective, Layer } from 'ng-esri-map'; @Component({ selector: 'my-map', templateUrl: './my-map.component.html', styleUrls: ['./my-map.component.css'] }) export class MyMapComponent { public layers: Layer[] = [ { url: 'https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer' } ]; @ViewChild('myMap') private myMap: EsriMapDirective; public ngOnInit() { this.myMap.initMap({latitude: 1, longitude: 2}); } }
Advanced usage
You can find an example
5.0.0
4 years ago
4.0.0-4.9
5 years ago
4.0.0
5 years ago
3.0.4-4.9
5 years ago
3.0.3
5 years ago
3.0.3-4.9
5 years ago
3.0.2
5 years ago
3.0.2-4.9
5 years ago
3.0.1
5 years ago
3.0.1-4.9
5 years ago
3.0.0
5 years ago
3.0.0-4.9
5 years ago
2.2.5-4.9
5 years ago
2.2.5
5 years ago
2.2.4-4.9
5 years ago
2.2.4
5 years ago
2.2.3
5 years ago
2.2.2
5 years ago
2.2.1
5 years ago
2.2.0
5 years ago
2.1.3
5 years ago
2.1.2
6 years ago
2.1.1
6 years ago
2.1.0
6 years ago
2.0.2
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago