Hi, David. Is this comment is still need answer ?
In my understanding, Esri JavaScript API does not have class support "OSGeo TMS". But you could read "OSGeo TMS" as layer to create a custom subclass inherited from the WebTileLayer. In NYC Map Tiles sites, you could find sample implementation of both Esri JavaScript API 3.x and 4.x.
This is an example)
var TMSLayer = WebTileLayer.createSubclass({ getTileUrl: function(level, row, col){ var y = (1 << level) - row - 1; return this.urlTemplate.replace("{level}", level).replace("{col}", col).replace("{row}", y); } });
Hi ShinjiKATAYA1,
Is it possible to integrate secured TMS Layer in ArcGIS Javascript App. My TMS asks for username and password. (not credentials userid and token)
Los miembros que hayan iniciado sesión pueden publicar, seguir novedades y mucho más. ¿Eres nuevo por aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.