Skip to content

Commit

Permalink
Added Forma to latest realease build
Browse files Browse the repository at this point in the history
  • Loading branch information
SwampGuzzler committed Apr 26, 2019
1 parent ca368b0 commit 3378316
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions src/external.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ html
body.tundra
#root
div#share-modal.modal-wrapper.hidden
script(id='library-load' src='https://alpha.blueraster.io.s3.amazonaws.com/gfw-mapbuilder/timeslider-fix/1.3.4.js' version='1.3.4')
script(id='library-load' src='https://library.gfw-mapbuilder.org/1.3.4.js' version='1.3.4')
script.
var customApp = new MapBuilder({
el: 'root',
Expand Down Expand Up @@ -57,7 +57,7 @@ html
modisFires: true,
intactForests: true,
primaryForests: true,
forma: false,
forma: true,
aboveGroundBiomass: true,
landCover: true,
mangroves: false,
Expand All @@ -73,7 +73,7 @@ html
restorationLandCover: true,
restorationPopulation: true,
restorationRainfall: true,

// Options not configurable from AGOL but can be from here
restorationChartDescription: 'Some explanatory text for this anlaysis',
restorationTableDescription: 'Some explanatory text for this anlaysis',
Expand All @@ -92,7 +92,7 @@ html
en: 'Carto Layers',
fr: 'Carto Layers',
},

/**
* Custom Analysis Module Configuration
* This section provides the opportunity to define additional custom analysis modules.
Expand All @@ -115,9 +115,9 @@ html
*
* (geostore is automatically appended with each request)
*/



analysisModules: [
{
analysisId: 'TC_LOSS_GAIN',
Expand Down Expand Up @@ -583,7 +583,7 @@ html
// }
// }
],

/**
* Layer panel configuration, anything with an = is optional, {object=}
* Order at the group level controls the order of the accordions, the top most accordion's layers
Expand Down Expand Up @@ -646,14 +646,18 @@ html
}, {
order: 5,
type: 'remoteDataLayer',
uuid: '1fc7b0c5-259a-4685-8665-b2f1ed3f808f'
uuid: '56aa7e57-0ac4-446c-a82d-7713904b17c3'
}, {
order: 6,
type: 'remoteDataLayer',
uuid: 'f34f3c4e-625c-420f-b95e-48dc3543d34d'
uuid: '1fc7b0c5-259a-4685-8665-b2f1ed3f808f'
}, {
order: 7,
type: 'remoteDataLayer',
uuid: 'f34f3c4e-625c-420f-b95e-48dc3543d34d'
}, {
order: 8,
type: 'remoteDataLayer',
uuid: '46608c38-0e34-4b82-899d-ba2977b07271'
}]
},
Expand All @@ -673,7 +677,7 @@ html
order: 1,
type: 'remoteDataLayer',
uuid: '5f815a7d-457e-4eae-a8e5-8864a60696ad'
},
},
{
order: 2,
type: 'remoteDataLayer',
Expand Down Expand Up @@ -786,7 +790,7 @@ html
}
}]
},

/**
* CUSTOM GROUPS
* Add your custom groups below. The custom groups are similar to the groups defined above.
Expand Down Expand Up @@ -822,7 +826,7 @@ html
* @property {object} layers[].label - the label for the nested group
* @property {object[]} layers[].nestedLayers - the layers for the nested group
*/

extraLayers: [
{
id: 'MASK',
Expand Down

0 comments on commit 3378316

Please sign in to comment.