Skip to content

Conversation

@ianthetechie
Copy link
Collaborator

@ianthetechie ianthetechie commented Dec 31, 2025

This cleans up a few specific issues I noticed while doing a quick review of the previews:

  • The camera demo was broken, because the default (unreleased) behavior of the new environment modifier is to disable the camera ;) See mapCameraDisabled defaults to true? #128. I suspect this was accidental as a result of indecision on how to name it. I renamed the file to reflect how the modifier currently works.
  • Add an explicit constant camera to a few of the examples that didn't set a camera before. Some default somewhere changed so that these no longer defaulted to a useful viewport, so I've fixed that.
  • Removes some stray props that were not used and distract from the unsafe modifier example.

Fixes #128.

@ianthetechie ianthetechie merged commit 0aad420 into maplibre:main Dec 31, 2025
3 checks passed
@ianthetechie ianthetechie deleted the cleanup-examples branch December 31, 2025 03:54
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.

mapCameraDisabled defaults to true?

2 participants