Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated the IFL layer #3471

Merged
merged 2 commits into from
Jun 14, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions app/assets/javascripts/map/cartocss/intact2013.cartocss
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
#intact_forest_landscapes {
polygon-opacity: 0.7;
polygon-fill: #136400;
#ifl_2000_2013_2016 {
polygon-opacity: 0.9;
polygon-fill: #5C8C50;
line-width: 0;
line-opacity: 1;
}

#intact_forest_landscapes[class_name="IFL change 2000-2013"] {
polygon-fill: rgb(152, 155, 5);
#ifl_2000_2013_2016[class="IFL2000"] {
polygon-fill: #B0B156;
}

#ifl_2000_2013_2016[class="IFL2013"] {
polygon-fill: #b19b56;
}

2 changes: 1 addition & 1 deletion app/assets/javascripts/map/templates/layersNav.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<li class="layer" data-layer="ifl_2013_deg">
<span class="onoffswitch"><span></span></span>
<span class="layer-title">Intact Forest Landscapes<a href='#' data-source='intact_forest_landscapes_change' class='source source-shape-info'><svg><use xlink:href="#shape-info"></use></svg></a></span>
<span class="layer-info">(2000/2013)</span>
<span class="layer-info">(2000/2013/2016)</span>
{{!-- <span class="layer-info">
<label data-layer="ifl_2000" class="layer wrapped">
<span></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<ul class="layer-colors">
<li><i class="circle intact"></i>Intact Forest Landscapes</li>
<li><i class="circle degraded"></i>Reduction in extent 2000-2013</li>
<li><i class="circle" style='background:#b19b56;'></i>Reduction in extent 2013-2016</li>
</ul>
</div>