-
Notifications
You must be signed in to change notification settings - Fork 57
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
Conversation
There was a problem hiding this 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()
andsetOpacity()
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
# Conflicts: # package-lock.json
@patrickarlt thanks - I have addressed those points in this branch. Please review and then I'll release it as v4.0.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
#139
Switched to using maplibre-gl-js, using maplibre-gl-leaflet as inspiration.
Some notes:
(Fixed)getOpacity
andsetOpacity
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.Same as above for the(Fixed)styleLoaded
event - should we include this or remove it?