I did now manage to get it working. I've no clue what exactly was the problem. I noticed that invalid xml files are just completely ignored and that just closing Locus and restarting it was not sufficient. I force closed it just to make sure the new providers are loaded.
As openpistemap is offline I used OpenTopoMap for testing, maybe it is helpful for someone.
As openpistemap is offline I used OpenTopoMap for testing, maybe it is helpful for someone.
Code Select
<?xml version="1.0" encoding="UTF-8"?>
<providers>
<provider id="1002" type="0" visible="true" required="true" background="-1">
<name>OSM OpenTopo</name>
<mode>OpenTopo</mode>
<url><![CDATA[http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png?v={ts}]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>8</zoomMin>
<zoomMax>24</zoomMax>
<tileSize>256</tileSize>
<tileScale dpi="0" multi="2.0" replace="19" />
<countries>World</countries>
<usage>hiking</usage>
<serverPart>a;b;c</serverPart>
<extraHeader>Referer#http://locus.asamm.cz/</extraHeader>
</provider>
</providers>
