-
Notifications
You must be signed in to change notification settings - Fork 799
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
L.esri is undefined while zooming in/out #1191
Comments
great catch. a pull request with a fix would be most welcome. |
jwasilgeo
added a commit
that referenced
this issue
Apr 1, 2020
Add request as import in `BasemapLayer.js` (#1191)
This was released in v2.4.0: https://github.com/Esri/esri-leaflet/releases/tag/v2.4.0 |
jgravois
pushed a commit
to jgravois/esri-leaflet
that referenced
this issue
Apr 23, 2022
jgravois
pushed a commit
to jgravois/esri-leaflet
that referenced
this issue
Apr 23, 2022
Add request as import in `BasemapLayer.js` (Esri#1191)
jgravois
pushed a commit
to jgravois/esri-leaflet
that referenced
this issue
Apr 23, 2022
jgravois
pushed a commit
to jgravois/esri-leaflet
that referenced
this issue
Apr 23, 2022
Add request as import in `BasemapLayer.js` (Esri#1191)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using esri-leaflet as an import (webpack) instead extending the global
L
.When zooming in or out I'm getting the error:
TypeError: L.esri is undefined
The error is in the following line:
esri-leaflet/src/Layers/BasemapLayer.js
Line 305 in 6fb1275
It should be able to be fixed simply by importing the
request
function instead of using the globalL.esri
.The text was updated successfully, but these errors were encountered: