Skip to content

Conversation

@kikuchan
Copy link
Contributor

@kikuchan kikuchan commented Aug 5, 2024

Add a new source, CoordinateTileSource, to provide coordinate information (not limited to latitude and longitude) for every pixel within a tile.
This floating-point tile is intended to be accessed via the band operator of the EncodedExpression in the WebGLTileLayer and styled accordingly.

The most notable application is drawing the "Earth's shadow", which is demonstrated in the example.
It calculates the Sun's altitude for every geographic location of each pixel, rendering it as a tile with an alpha channel, allowing it to be overlaid on a map.

This was part of #16028, but I've separated it to simplify things.

image

@github-actions
Copy link

github-actions bot commented Aug 5, 2024

📦 Preview the website for this branch here: https://deploy-preview-16057--ol-site.netlify.app/.

@kikuchan kikuchan force-pushed the add-coordinate-tile-source branch from eb6cb0f to 6b8900d Compare August 16, 2024 10:16
@kikuchan
Copy link
Contributor Author

Updated.

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