Oruxmaps Online — Map Sources.xml [portable]
The default file resides in oruxmaps/mapfiles/ .
I’ve put together a custom Oruxmaps Online Map Sources.xml file for OruxMaps (Android) that includes a bunch of useful online map sources. Thought I’d share it in case it’s helpful to others.
Connect your phone to a computer or use an Android text editor app. Open onlinemapsources.xml . Copy an existing block.
The onlinemapsources.xml file is a structured XML document located in your OruxMaps data folder. It tells the app: How the map appears in your list. Oruxmaps Online Map Sources.xml
Add detailed topographic sources like USGS, IGN, or OpenTopoMap.
<url><![CDATA[https://tiles.stadiamaps.com/tiles/alidade_smooth/zoom/x/y.png?api_key=YOUR_API_KEY]]></url>
What are you planning? (hiking, cycling, off-roading, marine navigation) The default file resides in oruxmaps/mapfiles/
To expand your map list, you can either manually edit the XML file or download pre-configured files from community contributors:
<onlinemapsource uid="1000"> <name>basemap.at</name> <url><![CDATA[http://[$s].wien.gv.at/basemap/geolandbasemap/normal/google3857/[$z]/[$y]/[$x].png]]></url> <website><![CDATA[<a href="http://www.basemap.at"/>basemap.at</a>]]></website> <minzoom>0</minzoom> <maxzoom>19</maxzoom> <projection>MERCATORESFERICA</projection> <servers>maps,maps1,maps2,maps3,maps4</servers> <httpparam name="User-Agent">om</httpparam> <cacheable>1</cacheable> <downloadable>1</downloadable> </onlinemapsource>
To add a WMS, the URL parameters differ slightly. Typically, you need the base URL followed by parameters like SRS=EPSG:4326 (WGS84 coordinates). Most WMS servers that accept Lat/Lon calls are compatible with OruxMaps. Connect your phone to a computer or use
Many communities provide updated XML files. High-quality collections can be found on AnyGIS or in dedicated Telegram groups.
The original onlinemapsources.xml file is typically located in the oruxmaps/mapfiles/ folder on your internal storage. However, it is important to note that during an app update, OruxMaps may modify or replace the official file, which means any custom maps added directly to it could be erased.
Below is a concise, well-formed example of an OruxMaps Online Map Sources.xml file containing common map sources (tile, WMS, and MBTiles via HTTP). Replace URLs, names, and parameters as needed.
: Almost always EPSG:3857 (Web Mercator) for typical online tiles. Best Practices and Tips
If you see a pop-up warning that says "There are changes in the online maps configuration file" , it means the app is resetting the main XML file. Do not panic. Navigate to the customonlinemaps folder. If your file is there, it remains untouched. However, if you had placed your maps only in the root mapfiles/ folder, the system will rename your old file to onlinemapsources.xml.backup to preserve your data.