Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Commit

Permalink
fix: reduce zoom scale, and increase thickness of states+brazil
Browse files Browse the repository at this point in the history
  • Loading branch information
severo committed Apr 14, 2019
1 parent 1abcccb commit 8f822c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Expand Up @@ -7,8 +7,8 @@
<title>Quem bebe agrotóxicos?</title>
<!-- TODO: bundle at build -->
<script defer src="https://bundle.run/fuzzball@1.2.0"></script>
<script defer src="lib/main.pt.js?v=1555274726"></script>
<link rel="stylesheet" href="css/main.css?v=1555274726" />
<script defer src="lib/main.pt.js?v=1555282137"></script>
<link rel="stylesheet" href="css/main.css?v=1555282137" />
</head>
<body>
<section id="page-title" class="hero is-small is-primary cocktail">
Expand Down
2 changes: 1 addition & 1 deletion docs/lib/main.pt.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/_javascript/map/index.js
Expand Up @@ -23,7 +23,7 @@ const cfg = {
max: 16,
min: 1,
},
selectedMun: 6,
selectedMun: 4,
},
};

Expand Down
4 changes: 2 additions & 2 deletions src/_javascript/map/layers/choropleth.js
Expand Up @@ -92,13 +92,13 @@ function drawMap(context, path, data, scale, color) {

context.beginPath();
path(data.internalFu);
context.lineWidth = cfg.frontiers.fu / scale;
context.lineWidth = cfg.frontiers.fu; /// scale;
context.strokeStyle = '#000';
context.stroke();

context.beginPath();
path(data.brazil);
context.lineWidth = cfg.frontiers.br / scale;
context.lineWidth = cfg.frontiers.br; /// scale;
context.strokeStyle = '#000';
context.stroke();
}
Expand Down

0 comments on commit 8f822c0

Please sign in to comment.