L.esri.WebMap icon indicating copy to clipboard operation
L.esri.WebMap copied to clipboard

how to import esri-leaflet-webmap in ionic angular typescript

Open Arpapiemonte opened this issue 3 years ago • 0 comments

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

Arpapiemonte avatar Oct 04 '21 12:10 Arpapiemonte