Replies: 2 comments 4 replies
-
TileLayer in MapView (aka Web Mercator projection/EPSG:3857) only uses OSM tile encoding: https://deck.gl/docs/api-reference/geo-layers/tile-layer#indexing-system you need to use the OrthographicView if you want to render 4326. See this thread |
Beta Was this translation helpful? Give feedback.
-
As further commentary, I think the TileLayer should allow the user to set the tiling parameters to render non-Web Mercator tiles in a geospatial view. I'd encourage you to read and comment on #5504. The goal there is to expose more tiling parameters as public exports and allow you to implement another tiling system such as 4326 yourself. See also #5513 (reply in thread) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use the TileLayer with an ArcGIS Map Tile Service.
I am running into an issue where the tiles render at the wrong latitude. When fully zoomed out the map renders in the top half of the deck canvas when I would expect it to be centered. With the map rendering in the wrong hemisphere the coordinates are all off... The spatial reference on the service is 4326; not sure if that has something to do with it. I created a CodePen showing the issue with the world/tiles rendering in the upper half of the canvas.
I had to specify a TileLayer
data
url in the format of z/y/x to get the tiles. Thez
also appears to need an offset of -1 to display the entire world at 0 zoom scale. I created a CodePen showing the issue with the entire world not rendering.How can I make the map tiles render correctly?
Beta Was this translation helpful? Give feedback.
All reactions