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

Switch to use Maplibre GL JS #141

Merged
merged 5 commits into from
Sep 2, 2022
Merged

Switch to use Maplibre GL JS #141

merged 5 commits into from
Sep 2, 2022

Conversation

gavinr
Copy link
Contributor

@gavinr gavinr commented Aug 12, 2022

#139

Switched to using maplibre-gl-js, using maplibre-gl-leaflet as inspiration.

Some notes:

  • This still only supports Web Mercator projection since maplibre only supports that at this time. Getting to this is on their roadmap.
  • getOpacity and setOpacity are not in maplibre-gl-leaflet - I could not remember if we have added that intentionally in our version or not. I removed it, but if it was serving a specific purpose we should probably leave it in. (Fixed)
  • Same as above for the styleLoaded event - should we include this or remove it? (Fixed)

@gavinr gavinr linked an issue Aug 12, 2022 that may be closed by this pull request
@gavinr gavinr marked this pull request as ready for review August 12, 2022 20:17
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.

@gavinr this looks great. I think that:

  • We should keep opacity, getOpacity() and setOpacity() these are relatively simple and we should keep the same API.
  • We should keep styleLoaded for the same reason.
  • Incorporate my fix in Add reproduction for and fix for #130 #144
  • Release this as 4.0.0

@gavinr
Copy link
Contributor Author

gavinr commented Aug 26, 2022

@patrickarlt thanks - I have addressed those points in this branch. Please review and then I'll release it as v4.0.0.

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 8b234f3 into Esri:master Sep 2, 2022
@gavinr gavinr deleted the maplibre branch September 2, 2022 18:41
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.

Migrate to MapLibre GL JS
3 participants