Using TileLayer for map server not scale by power of 2

01-18-2021 07:03 PM
New Contributor

Hi everyone!


In `TileLayer` document, it says

  • Scale levels must increase or decrease by a power of two

however our arcgis map server serves map tiles not power of two, zoom 0 has 4 tiles and zoom1 has 9 tiles.

Using js api 3.x version can resolve this server well, but in 4.x api can't resolve this type of map server.Is there any solutions for this? Or i have to swap to 3.x API?

Tags (2)
0 Kudos
0 Replies