Replies: 1 comment 10 replies
-
You can either use an |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use the TileLayer with a TMS (MapProxy) service. With the TileLayer by default supporting slippy map tilenames/(
zxy
) my initial thought was I could simply flip they
coordinate (Math.pow(2, z)-y-1
) to be TMS compliant via thegetTileData
.Flipping the
y
coordinate within thegetTileData
function appeared to put the tiles in the correct order. However, no matter what my viewState is the map always loads tiles around South America...For example, if my viewState is...
I get tiles loaded looking like the below screen capture. The rest of the world tiles do not load....
I also tried explicitly specifying the TileLayer's
extent
property to the bounds of the TMS service...[-20037508.342789244, -20037508.342789244, 20037508.342789244, 20037508.342789244]
The TMS/MapProxy service provides a test page which uses OpenLayers and is rendering the tiles correctly. I would mockup a Codepen but I can't seem to find a freely available TMS server on the open Internet.
Appreciate any help and insights on how I can correctly render using deck...
Beta Was this translation helpful? Give feedback.
All reactions