Adding OpenseaMaps to perspective maps

I have been trying to get open see maps working using The perspective maps so far i’ve not been having much luck. I have been able to get OpenStreetMaps working using the URL https://{s}{z}/{x}/{y}.png. But found similar URLS for open sea maps not to work. has anybody know how you go about changing the tile to used openseamaps,


It seems like a format like this should work:

OpenSeaMap: {
	url: '{z}/{x}/{y}.png',
	options: {
		attribution: 'Map data: &copy; <a href="">OpenSeaMap</a> contributors'

Pulled from Leaflet’s own examples:

1 Like

Worked. Thanks very much

1 Like