Support for additional map layer - OpenSeaMap




Support for additional map layer - OpenSeaMap


OpenSeaMap maps are done as additional layer on top of OpenStreetMaps.

You can check example from Leaflet preview:

var OpenStreetMap_Mapnik = L.tileLayer('https://{s}{z}/{x}/{y}.png', {
	maxZoom: 19,
	attribution: '&copy; <a href="">OpenStreetMap</a> contributors'
var OpenSeaMap = L.tileLayer('{z}/{x}/{y}.png', {
	attribution: 'Map data: &copy; <a href="">OpenSeaMap</a> contributors'

Would be great if Locations plugin would support additional layer(s).

Use Case is Slovenian sailing forum. We currently use Locations plugin with OpenStreetMap to show some location topics:

With additional layer support, we would be able to show nautical features on the maps by using OpenSeaMap layer.

Nice! Thanks for filling out the wizard :slight_smile: It sounds like a good feature.

As a thank you for being the first person to do this, I’ll make it a bit easier to get this in the works. The current rule is 10 votes (or monetary support) is needed to get a feature on the agenda. For this, I’ll put it on the agenda if you can get at least 5 votes. I just voted for it, you can vote for it, then you just need 3 more. Maybe ask others in the Locations Plugin Topic on meta?

1 Like

Would love to have this feature as well to include weather data in my maps. We use the maps for showing of training locations and dates on the maps and having the aditional data would give the users extra data in a blink of an eye to decide on whether to join or not.

Kind regards

Since this feature is not implemented yet, one member of our community have implemented a small hack that puts additional OpenSeaMap layer on top of OpenStreetMap.

As you can see, adding layer is really simple, it would just need to get two configuration options to be added to plugin config. If you want to use it, add this to app.yml:

git clone -b "openseamap"

You can check OpenSeaMap example on our forum.

1 Like