[client] Add attributions

This commit is contained in:
Starbeamrainbowlabs 2019-01-21 11:48:29 +00:00
parent db09e6a56f
commit 5934f96aaa
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -30,6 +30,9 @@ class MapManager {
attribution: "&copy; <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>"
}).addTo(this.map);
this.map.attributionControl.addAttribution("Data: <a href='https://connectedhumber.org/'>Connected Humber</a>");
this.map.attributionControl.addAttribution("<a href='https://github.com/ConnectedHumber/Air-Quality-Web/'>Air Quality Web</a> by <a href='https://starbeamrainbowlabs.com/'>Starbeamrainbowlabs</a>");
// Add the device markers
console.info("[map] Loading device markers....");
this.setup_device_markers().then(() => {