Hello, I am new to this SDK and I'm building an android application using ArcGIS android SDK.
The problem is, I need to find out how to load a custom XYZ map tiles from a URL
(e.g. http://map.domain.com/street_map/{z}/{x}/{y}.png).
I am currently looking at extending from TiledServiceLayer and overriding the getTile(level,col,row), but I have no idea how to build it.
Some examples I've looked at:
- Mozilla Stumbler layer: loading TMS and XYZ tilelayers in QGIS | www.qgis.nl . The example uses the QGIS application
- Adding tile layers to your web map | ArcGIS Blog . The example also uses ArcGIS online
- Creating a custom TileServiceLayer in ArcGIS Android | ArcGIS Blog . This is probably the closest one with my problem due to the getTile() function, but I still have no idea how to implement it (e.g.. deciding envelopes, extents, and tileinfo)
If there's a sample code or a lead on how to do it, I'd greatly appreciate it
Thanks before