Skip to content

Instantly share code, notes, and snippets.

@wrygiel wrygiel/providers.xml
Last active Dec 10, 2015

Embed
What would you like to do?
Example configuration of Locus map provider for OpenCaching.PL
<?xml version="1.0" encoding="UTF-8"?>
<providers>
<!-- Google maps classic -->
<provider id="10020" type="0" visible="true" background="-1">
<name>Google</name>
<mode>Classic</mode>
<area></area>
<url><![CDATA[http://mt{s}.google.com/vt/lyrs=m@140&hl=en&x={x}&y={y}&z={z}]]></url>
<serverPart>0;1</serverPart>
<zoomPart>{z}-8</zoomPart>
<zoomMin>8</zoomMin>
<zoomMax>27</zoomMax>
<tileSize>256</tileSize>
<attribution><![CDATA[(c)2011 Google - Map data (c)2011 Tele Atlas]]></attribution>
<extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
<extraHeader><![CDATA[Referer#http://maps.google.com/]]></extraHeader>
</provider>
<!-- OpenCaching.PL, z podkładem Google maps classic. -->
<provider id="11111" type="0" visible="true" required="true" background="10020">
<name>OCPL</name>
<mode>Classic</mode>
<area></area>
<url><![CDATA[http://opencaching.pl/lib/mapper_okapi.php?userid=0&z={z}&x={x}&y={y}&h_u=false&h_t=false&h_m=false&h_v=false&h_w=false&h_e=false&h_q=false&h_o=false&h_owncache=false&h_ignored=false&h_own=false&h_found=false&h_noattempt=false&h_nogeokret=false&h_avail=false&h_temp_unavail=true&h_arch=true&be_ftf=false&min_score=-3&max_score=3.000&h_noscore=true]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>8</zoomMin>
<zoomMax>27</zoomMax>
<tileSize>256</tileSize>
<attribution><![CDATA[OpenCaching.PL]]></attribution>
<extraHeader><![CDATA[User-Agent#Locus]]></extraHeader>
</provider>
</providers>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.