Author Topic: [MAP Overlay] Seamarks tiles  (Read 3528 times)

Offline brotbuexe

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 148
  • Thanked: 1 times
    • View Profile
[MAP Overlay] Seamarks tiles
« on: May 01, 2012, 14:21:32 »
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.

Code: [Select]
<?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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »