Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Arielg

#1
Thanks Menion.
I checked again my XML and some of the quotes in the XML were weird, replacing them with standard quotes worked!
this is the XML I am now using:
<?xml version="1.0" encoding="UTF-8"?>
<providers>
<provider id="20000" type="0" visible="true" background="-1">
        <name>Israel Hiking Map</name>
        <mode>Hiking trails</mode>
        <countries>Israel</countries>
        <url><![CDATA[http://osm.org.il/IsraelHiking/Tiles/{z}/{x}/{y}.png]]></url>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>15</zoomMin>
        <zoomMax>24</zoomMax>
        <tileSize>256</tileSize>
        <attribution></attribution>
        <extraHeader></extraHeader>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
    </provider>
</providers>

The only problem now is I can't get my head around the combination of zoomPart, zoomMin and zoomMax.

This is a map based on OpenStreetMap and seems to adhere to the same zoom level.. As this is a regional map, the tiles zoom ranges are 7-16, but when I input these vales into the min/max field it does not work.. when I add +8 (15-24) it does, but the zoom is not restricted to these levels.. you can zoom both further out and further in..

thanks.
#2
Hi,

I am trying to create a custom map using the following XML:
<?xml version="1.0" encoding="UTF-8"?>
<providers>
<!-- IsraelHikingMap -->
    <provider id="20000" type="0" visible="true" background="-1">
        <name>Israel Hiking Map</name>
        <mode>Hiking trails</mode>
        <countries>Israel</countries>
        <url><![CDATA[http://osm.org.il/IsraelHiking/Tiles/{z}/{x}/{y}.png]]></url>
        <zoomPart>{z}-8</zoomPart>
        <zoomMin>7</zoomMin>
        <zoomMax>16</zoomMax>
        <tileSize>256</tileSize>
        <attribution></attribution>
        <extraHeader></extraHeader>
        <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1]]></extraHeader>
    </provider>
</providers>


For some reason, it's not showing in the maps section..

Any help would be appreciated.

Thanks!