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

MapLibre 4 custom modifications #3

Merged
merged 13 commits into from
Oct 3, 2024
Merged

Conversation

patrikschiller
Copy link
Collaborator

Added custom features that were not part of the main branch such as:

  • latitude bounds
    • constrain map movement over certain latitude bounds
  • support for texture formats other than gl.RGBA used by raster tile sources
    • developer can define texture format (both wgl1 and wgl2) used for tile textures (overrides default gl.RGBA) used by raster sources (sourceCache)
  • exports for Event, Tile, SourceCache, and OverscaledTileID
    • required for our renderer development

Launch Checklist

  • Confirm your changes do not include backports from Mapbox projects (unless with compliant license) - if you are not sure about this, please ask!
  • Briefly describe the changes in this PR.
  • Link to related issues.
  • Include before/after visuals or gifs if this PR includes visual changes.
  • Write tests for all new functionality.
  • Document any changes to public APIs.
  • Post benchmark scores.
  • Add an entry to CHANGELOG.md under the ## main section.

@patrikschiller patrikschiller added the enhancement New feature or request label Oct 1, 2024
Copy link
Collaborator

@kubapelc kubapelc left a comment

Choose a reason for hiding this comment

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

Failing tests are due to jest not supporting WebGL2. Let's ignore that for now.
Lngrange must now be set to over 1e6 to be considered infinite, because some ranges that are technically over 360° get interpreted weirdly as a smaller actual range.

@patrikschiller patrikschiller merged commit be71deb into lean Oct 3, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants