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: Add globe projection #817

Merged
merged 1 commit into from
Nov 28, 2024
Merged

maplibre: Add globe projection #817

merged 1 commit into from
Nov 28, 2024

Conversation

jvaclavik
Copy link
Collaborator

@jvaclavik jvaclavik commented Nov 28, 2024

Description

Example links

Screenshots

image

Checklist

  • dark mode / light mode
  • mobile / desktop
  • server-side-rendering (SSR)
  • all texts are localized (in vocabulary.ts)

Copy link

vercel bot commented Nov 28, 2024

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

Name Status Preview Updated (UTC)
osmapp ✅ Ready (Inspect) Visit Preview Nov 28, 2024 8:19pm

@jvaclavik jvaclavik merged commit 70437fb into master Nov 28, 2024
3 checks passed
@jvaclavik jvaclavik deleted the maplibre-globe branch November 28, 2024 20:24
@jvaclavik jvaclavik mentioned this pull request Nov 28, 2024
@Dlurak
Copy link
Collaborator

Dlurak commented Nov 28, 2024

Cool but I think a nice sky would also be necessary. I also already tried to create a globe view but failed to create a nice looking sky and light

@zbycz
Copy link
Owner

zbycz commented Nov 29, 2024

@Dlurak - lol, i tried to add the sky as well few months ago, but also failed :D :D

My attempt was this:

const SKY: LayerSpecification = {
  'sky-color': '#199EF3',
  'sky-horizon-blend': 0.5,
  'horizon-color': '#ffffff',
  'horizon-fog-blend': 0.5,
  'fog-color': '#0000ff',
  'fog-ground-blend': 0.5,
  'atmosphere-blend': ['interpolate', ['linear'], ['zoom'], 0, 1, 10, 1, 12, 0],
};

@jvaclavik
Copy link
Collaborator Author

Cool but I think a nice sky would also be necessary. I also already tried to create a globe view but failed to create a nice looking sky and light

I agree, tried yesterday but it didn't work 🤷‍♂️ feel free to improve it

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.

3 participants