Hi OSMdroid developers,
Thanks for a fantastic product!
It would be nice to have TMS(
Tile Map Service)layer support in the OSMdroid library. This will give instant access to Open GIS server implementation of the TMS specification like:
*
TileCache
*
GeoWebCache
*
MapProxy
The TMS specification is similar to Slippy Map specification used by OpenStreetMap, except y axis:
- TMS count y tiles from bottom to top (origin at bottom left corner).
- Slippy Map(OpenStreetMap) count tiles from top to bottom.
Example of custom URL template:
"http://servername/contextpath/service/tms/1.0.0/layername/z/x/y.formatExtension"
Conversion to TMS is done with:
y = (int)(Math.pow(2, zoomLevel) - y - 1);
Useful links to android java forums;
OSMdroid-Plus implementation of TMS
TMS patch for OSMdroid
Best regards
Morten
This post might belongs to a new Thread under "Wishlist"