Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenSeaMaps #25

Open
joshuafuller opened this issue Nov 26, 2024 · 0 comments
Open

Add OpenSeaMaps #25

joshuafuller opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@joshuafuller
Copy link
Owner

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!

@joshuafuller joshuafuller added the enhancement New feature or request label Nov 26, 2024
@joshuafuller joshuafuller self-assigned this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant