Commit 91c55833 by Clinton Blackburn

Using equirectangular map projection

parent ad809832
...@@ -164,7 +164,7 @@ define(['jquery', 'd3', 'datamaps', 'underscore', 'views/attribute-listener-view ...@@ -164,7 +164,7 @@ define(['jquery', 'd3', 'datamaps', 'underscore', 'views/attribute-listener-view
map = new Datamap({ map = new Datamap({
element: self.el, element: self.el,
projection: 'mercator', projection: 'equirectangular',
geographyConfig: { geographyConfig: {
hideAntarctica: true, hideAntarctica: true,
borderWidth: 1, borderWidth: 1,
......
...@@ -32,14 +32,14 @@ ...@@ -32,14 +32,14 @@
position: relative; position: relative;
margin: 0 auto; margin: 0 auto;
// this is the ratio of width:height to keep the map from being cut off // this is the ratio of width:height to keep the map from being cut off
width: 750px; width: 900px;
height: 500px; height: 400px;
} }
@media (max-width: $screen-md) { @media (max-width: $screen-md) {
.world-map { .world-map {
width: 450px; width: 450px;
height: 300px;} height: 200px;}
} }
@media (max-width: $screen-sm) { @media (max-width: $screen-sm) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment