Skip to content

Commit

Permalink
enable major area codes layer in species, rfb viewers
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Oct 10, 2016
1 parent 39d0eaa commit 992ec82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WebContent/js/rfb/rfb.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function addRFB(extent, center, zoom, projection, elinkDiv, urlLink, htmlLink, l
context : 'rfbViewer',
legend : 'legend',
projection : projection,
options : { colors: false, labels: true, topMarineLabels: true, majorAreasAsLines: true},
options : { colors: false, labels: true, topMarineLabels: true, majorAreasAsLines: true, majorAreasCodes: true},
countriesLegend : 'MemberCountries',
base : [
{ layer: FigisMap.fifao.cnt, cached: true, remote:false, label : "Continents"}
Expand Down
4 changes: 2 additions & 2 deletions WebContent/js/species/species.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function loadme(elinkDiv, urlLink, htmlLink){
legendType : location.href.indexOf('species_e.html')>0 ? 'DP' : 'TP',
context : 'speciesViewer',
global : true,
options : {colors: false, labels: true, majorAreasAsLines: true},
options : {colors: false, labels: true, majorAreasAsLines: true, majorAreasCodes: true},
distribution : []
};

Expand Down Expand Up @@ -136,7 +136,7 @@ function addSpecies(extent, center, zoom, elinkDiv, urlLink, htmlLink){
context : 'speciesViewer',
mapSize : 'L',
global : ! performAutoZoom,
options : {colors: false, labels: true , topMarineLabels: true, majorAreasAsLines: true},
options : {colors: false, labels: true , topMarineLabels: true, majorAreasAsLines: true, majorAreasCodes: true},
distribution : new Array(),
base : [
{ layer: FigisMap.fifao.cnt, cached: true, remote:false, label : "Continents"}
Expand Down

0 comments on commit 992ec82

Please sign in to comment.