Example of a localized OpenStreetMap map with a custom tile server and a custom attribution.
The base layer is OpenCycleMap with an overlay from OpenSeaMap. The OpenSeaMap tile server does not support CORS headers.
See the localized-openstreetmap.js source to see how this is done.