Skip to content

Commit

Permalink
Disable Meta Footways prototype for now
Browse files Browse the repository at this point in the history
(re: #1469)
  • Loading branch information
bhousel committed Aug 29, 2024
1 parent 1b2214a commit abe5191
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 24 deletions.
3 changes: 0 additions & 3 deletions data/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1143,9 +1143,6 @@ en:
fbRoads:
label: Facebook Roads
license_markdown: "[license](https://rapideditor.org/doc/license/MapWithAILicense.pdf)"
metaFootways:
label: Meta Footways
license_markdown: "[license](https://rapideditor.org/doc/license/MapWithAILicense.pdf)"
msBuildings:
label: Microsoft Buildings
license_markdown: "[license](https://github.com/microsoft/USBuildingFootprints/blob/master/LICENSE-DATA)"
Expand Down
4 changes: 0 additions & 4 deletions data/l10n/core.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1445,10 +1445,6 @@
"label": "Facebook Roads",
"license_markdown": "[license](https://rapideditor.org/doc/license/MapWithAILicense.pdf)"
},
"metaFootways": {
"label": "Meta Footways",
"license_markdown": "[license](https://rapideditor.org/doc/license/MapWithAILicense.pdf)"
},
"msBuildings": {
"label": "Microsoft Buildings",
"license_markdown": "[license](https://github.com/microsoft/USBuildingFootprints/blob/master/LICENSE-DATA)"
Expand Down
35 changes: 18 additions & 17 deletions modules/core/RapidSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,23 +111,24 @@ export class RapidSystem extends AbstractSystem {
license_markdown: l10n.t('rapid_feature_toggle.msBuildings.license_markdown')
});

this._datasets.set('metaFootways', {
id: 'metaFootways',
beta: true,
added: true, // whether it should appear in the list
enabled: false, // whether the user has checked it on
conflated: true,
service: 'mapwithai',
overlay: {
url: 'https://external.xx.fbcdn.net/maps/vtp/rapid_overlay_footways/1/{z}/{x}/{y}/',
minZoom: 1,
maxZoom: 15,
},
color: RAPID_MAGENTA,
dataUsed: ['mapwithai', 'Meta Footways'],
label: l10n.t('rapid_feature_toggle.metaFootways.label'),
license_markdown: l10n.t('rapid_feature_toggle.metaFootways.license_markdown')
});
// bhousel 8/29/24, not yet
// this._datasets.set('metaFootways', {
// id: 'metaFootways',
// beta: true,
// added: true, // whether it should appear in the list
// enabled: false, // whether the user has checked it on
// conflated: true,
// service: 'mapwithai',
// overlay: {
// url: 'https://external.xx.fbcdn.net/maps/vtp/rapid_overlay_footways/1/{z}/{x}/{y}/',
// minZoom: 1,
// maxZoom: 15,
// },
// color: RAPID_MAGENTA,
// dataUsed: ['mapwithai', 'Meta Footways'],
// label: l10n.t('rapid_feature_toggle.metaFootways.label'),
// license_markdown: l10n.t('rapid_feature_toggle.metaFootways.license_markdown')
// });
});
}

Expand Down

0 comments on commit abe5191

Please sign in to comment.