Skip to content

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

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions