Skip to content

procedural tiles #1942

Answered by mgermerie
alienatorZ asked this question in Q&A
Nov 1, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi ! You can see here a small example I made to display an image on each tile over the globe. You can see the result on the screenshot below, where each red rectangle is a globe tile.

You could draw on a canvas, and pass canvas.toDataURL() as the url of the TMSSource. Is it what you need ?

@gchoqueux, perhaps do you know of another way of doing so ?

About displaying tiles and elevation, I am not sure I understood what you want. Do you want to avoid displaying tiles which have non null elevation data attached ?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gchoqueux
Comment options

Answer selected by alienatorZ
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants