Ireland's Marine Atlas
Access to Ireland’s marine data and related information
menu
Digital Ocean Widgets
Cluster Map
digitalocean.create({ "type": "cluster-map", "config": { "id": "cluster-sample", "layers": [ { "name": "Tide Gauges", "defaultOn": true, "url": "http://localhost:5000/markers/tide-gauges.json", "color": "rgb(141, 66, 245)", "layerType": 3, "tooltipContentFunction": createTooltip, } ], "layersTitle": "Layers", "addSatelliteLayer": true, "addMultiSelection": true, } }); function createTooltip(data) { console.log(data) let content = `
${data.title}
`; content += `Any other additional data`; return content; }