ArcGIS JS API TileLayer

589
2
01-04-2019 02:11 PM
JustinCarasick
New Contributor III

In the 4.x javascript api is there a "TileLayer" option like openlayers where the request is broken into multiple tile requests against a MapImageLayer? This is not for a cached service but a dynamic service and returns dynamic images.

I tried the TileLayer in the 4.x on a non-cached service and get an error (Cannot read property 'pause' of null. from MapView.js.

What I am after is the API to split (tile) the request into smaller requests and return images as they are rendered by ArcGIS Server.

Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Justin,

  There is nothing like that in the 4.x API. You have TileLayer which is for cached services and MapImageLayer which is for non-cached dynamic services.

0 Kudos
JustinCarasick
New Contributor III

That's too bad, it's a real nice optimization.

0 Kudos