Skip to content

a few fixes #262

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

Merged
merged 3 commits into from
Mar 20, 2025
Merged

a few fixes #262

merged 3 commits into from
Mar 20, 2025

Conversation

dimfeld
Copy link
Owner

@dimfeld dimfeld commented Mar 20, 2025

  • Fix bounds equality check. This usually didn't cause problems was was really screwing things up when terrain was enabled. Closes Weird zoom issue #255
  • Set loaded to true on style.load instead of load. This improves responsiveness a lot when adding layers and sources at startup.
  • The MapLibre component no longer gates rendering its children on loaded. The components in this library have been updated accordingly but if you have your own custom components you may also need to update them to wait if they weren't already.
  • Add BackgroundLayer component and add a flag to Layer that allows it to render without a source. Re BackgroundLayer #258
  • Add projection support. Closes Add projection property to MapLibre component. #261
  • Add anchor property to Marker and DefaultMarker. Closes feat: marker anchor #250

Copy link

changeset-bot bot commented Mar 20, 2025

🦋 Changeset detected

Latest commit: 2125f8c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-maplibre Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Mar 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-maplibre ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2025 8:28am

@dimfeld dimfeld merged commit 547e5e1 into master Mar 20, 2025
2 checks passed
@dimfeld dimfeld deleted the fixes20250319 branch March 20, 2025 18:06
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.

Add projection property to MapLibre component. Weird zoom issue feat: marker anchor
1 participant