L.esri.WebMap
L.esri.WebMap copied to clipboard
how to import esri-leaflet-webmap in ionic angular typescript
Hi, I cannot import esri-leaflet-webmap in my ionic angular app. With Vector plugin, for example, I managed to import writng this:
import * as L from 'leaflet';
import * as Lesri from 'esri-leaflet';
import * as LesriVector from 'esri-leaflet-vector'
Lesri.tiledMapLayer({
url: 'URL'
}).addTo(this.map);
LesriVector.vectorTileLayer("ID", {
portalUrl: "https://www.arcgis.com", // default value
}).addTo(this.map);
But if I import
import * as LesriWebmap from 'esri-leaflet-webmap'
It cannot find the module esri-leaflet-webmap'
How I have to do? Thanks