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

added deprecation notice (warning) to BasemapLayer #1293

Merged
merged 2 commits into from
Sep 24, 2021

Conversation

gavinr
Copy link
Contributor

@gavinr gavinr commented Sep 22, 2021

Adds a warning when using BasemapLayer:

image

This warning can be supressed/disabled by setting a new option property, ignoreDeprecationWarning, to true:

L.esri.basemapLayer("Topographic", {
  ignoreDeprecationWarning: true
}).addTo(map);

@gavinr gavinr marked this pull request as draft September 22, 2021 13:46
@alaframboise

This comment has been minimized.

@gavinr gavinr marked this pull request as ready for review September 23, 2021 19:43
Copy link
Contributor

@patrickarlt patrickarlt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gavinr gavinr merged commit b1e4cd3 into master Sep 24, 2021
@gavinr gavinr deleted the basemap-layer-deprecation-notice branch September 24, 2021 12:59
gavinr pushed a commit to Esri/esri-leaflet-doc that referenced this pull request Sep 24, 2021
@gavinr
Copy link
Contributor Author

gavinr commented Sep 24, 2021

This was released in v3.0.3.

jwasilgeo pushed a commit to Esri/esri-leaflet-doc that referenced this pull request Sep 24, 2021
jgravois pushed a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
* added deprecation notice (warning) to BasemapLayer

* Update URL
jgravois pushed a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
* added deprecation notice (warning) to BasemapLayer

* Update URL
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

Successfully merging this pull request may close these issues.

5 participants