Add OpenSeaMaps
Opened this issue · 0 comments
joshuafuller commented
Feature Request: Add OpenSeaMaps
Description
Add support for OpenSeaMaps as a custom map source. This addition will enhance the functionality by including nautical charting data provided by OpenSeaMaps. Credit for the XML configuration goes to Jonathan Svensson.
XML Configuration
<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>OpenSeaMapTILES</name>
<minZoom>0</minZoom>
<maxZoom>18</maxZoom>
<tileType>png</tileType>
<url>https://t2.openseamap.org/tile/{$z}/{$x}/{$y}.png</url>
<coordinatesystem>epsg:3857</coordinatesystem>
<backgroundColor>#000000</backgroundColor>
<ignoreErrors>false</ignoreErrors>
</customMapSource>
Purpose
• To provide support for nautical maps via OpenSeaMaps.
• Improves mapping functionality for users needing marine chart data.
Acceptance Criteria
• OpenSeaMaps tiles are displayed correctly when added as a custom map source.
• Ensure compatibility with zoom levels from 0 to 18.
• Handle errors gracefully if tiles fail to load.
• Validate and ensure the coordinates system matches epsg:3857.
Additional Notes
• OpenSeaMaps tiles are served as PNG files and require a dark background color (#000000) for optimal visibility.
• Ensure the implementation doesn’t conflict with existing map sources.
Would appreciate any feedback or additional considerations for this integration. Thank you!
You can now paste this directly into a GitHub issue. Let me know if you need further assistance!