[MAP Overlay] Seamarks tiles

Started by brotbuexe, May 01, 2012, 14:21:32

0 Members and 1 Guest are viewing this topic.

brotbuexe

On http://www.openseamap.org they use a overlay to show seamarks.

I only found a Information about how to embed the map: http://wiki.openseamap.org/wiki/OpenSea ... ile-Server
As locus already have the map included, the Tile Usage policy should also apply to this Overlay: http://wiki.openstreetmap.org/wiki/Tile_usage_policy

if it does not exist, create a /sdcard/locus/mapsOnline/custom/provider.xml and insert this text:
If it already exist edit it and just insert the <provider*> ... </provider> stuff inside the <providers> ... </providers> xml tags.

<?xml version="1.0"?>
<providers>
<provider id="10228" type="0" visible="true" required="false" background="-1">
<name>OSM - layers</name>
<mode>OpenSeaMap Seamarks overlay</mode>
<area></area>
<url><![CDATA[http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>17</zoomMin>
<zoomMax>26</zoomMax>
<tileSize>256</tileSize>
<attribution>Seamarks overlay tiles come from http://openseamap.org, Terms of Use: https://wiki.openstreetmap.org/wiki/Tile_usage_policy</attribution>
</provider>
</providers>

If you already use the OpenSeaMap, you don't need this overlay. The seamarks are already included in this map in locus.

Edit: fixed min zoom level from 0 to 9.
  •