Skip to content

feat: add per-marker elevation override - #113

Open
TomPlanche wants to merge 2 commits into
shuding:mainfrom
TomPlanche:feat/unique-elevation-per-marker
Open

feat: add per-marker elevation override#113
TomPlanche wants to merge 2 commits into
shuding:mainfrom
TomPlanche:feat/unique-elevation-per-marker

Conversation

@TomPlanche

Copy link
Copy Markdown
Contributor

This PR adds the ability to specify a custom elevation for each marker on the globe. When a marker doesn't have a custom elevation specified, it will fall back to the global markerElevation setting.

Example Usage:

markers: [
    // Uses the global markerElevation
    { location: [37.7595, -122.4367], size: 0.03 },
    // Uses a custom elevation
    { location: [51.5074, -0.1278], size: 0.05, elevation: 0.15 },
]

@vercel

vercel Bot commented Mar 26, 2026

Copy link
Copy Markdown

@TomPlanche is attempting to deploy a commit to the shu Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Mar 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cobe Ready Ready Preview, Comment Mar 26, 2026 9:58pm

Request Review

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.

1 participant