Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Arpapiemonte opened this issue Oct 4, 2021 · 0 comments
Open

Comments

@Arpapiemonte
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants