This object is in archive! 
Custom Map not working - Problems with zoomMin, zoomMax and zoomPart?
Answered
Hello! I am trying to add my custom maps, but something is wrong. The providers.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?> <providers> <provider id="20000" type="1" visible="true" background="-1"> <name>Trilhas Abertas</name> <mode>Chapada dos Veadeiros (Alto Paraíso e Cavalcante)</mode> <url><![CDATA[http://www.trilhasabertas.com.br/veadeiros/{z}/{x}/{y}.png]]></url> <zoomPart>{z}-7</zoomPart> <zoomMin>7</zoomMin> <zoomMax>18</zoomMax> <tileSize>256</tileSize> <countries>Brazil</countries> <attribution><![CDATA[(c)2018 Trilhas Abertas - Map data]]></attribution> <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0]]></extraHeader> <extraHeader><![CDATA[Referer#http://www.trilhasabertas.com.br]]></extraHeader> <usage>cachoeiras, fazendas, rios, estradas</usage> </provider> </providers>
After debugging the server, I noticed that the tile requested by LocusMap doesn't really exist. What am I doing wrong?
You can see this same map on this site (using Leaflet): http://www.trilhasabertas.com.br/tms?map=veadeiros
Hello Guilherme,
quick check of your file without testing: is it intended to have zoomPart defined as {z}-7 ? For most of the servers, common value should be here {z}-8 . So please give it a try if it helps. If not, let me know and I'll test precisely on the device.
Menion
Hello Guilherme,
quick check of your file without testing: is it intended to have zoomPart defined as {z}-7 ? For most of the servers, common value should be here {z}-8 . So please give it a try if it helps. If not, let me know and I'll test precisely on the device.
Menion
Replies have been locked on this page!