Skip to content

Commit

Permalink
Update map attribution to point to new repository URL
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmart17 authored Jul 18, 2024
1 parent 7bddbbb commit 83a3b37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ async function setPilotMarkers() {
var dataset = await getDataset();
//console.(dataset);
map.addControl(new mapboxgl.AttributionControl({
customAttribution: `vatSys ${dataset.Profile._attributes.Name} dataset <strong>AIRAC ${dataset.Profile.Version._attributes.AIRAC}${dataset.Profile.Version._attributes.Revision}</strong> | <a href="https://github.com/Kahn/vatsim-map">vatsim-map</a>`
customAttribution: `vatSys ${dataset.Profile._attributes.Name} dataset <strong>AIRAC ${dataset.Profile.Version._attributes.AIRAC}${dataset.Profile.Version._attributes.Revision}</strong> | <a href="https://github.com/vatpac-technology/vatsim-map">vatsim-map</a>`
}))
})();

Expand Down
2 changes: 1 addition & 1 deletion public/sectormap.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ async function getDataset() {
(async () => {
var dataset = await getDataset();
map.addControl(new mapboxgl.AttributionControl({
customAttribution: `vatSys ${dataset.Profile._attributes.Name} dataset <strong>AIRAC ${dataset.Profile.Version._attributes.AIRAC}${dataset.Profile.Version._attributes.Revision}</strong> | <a href="https://github.com/Kahn/vatsim-map">vatsim-map</a>`
customAttribution: `vatSys ${dataset.Profile._attributes.Name} dataset <strong>AIRAC ${dataset.Profile.Version._attributes.AIRAC}${dataset.Profile.Version._attributes.Revision}</strong> | <a href="https://github.com/vatpac-technology/vatsim-map">vatsim-map</a>`
}))
})();

Expand Down

0 comments on commit 83a3b37

Please sign in to comment.