Skip to content

Instantly share code, notes, and snippets.

@waleedshkt
Last active April 21, 2020 16:17
Show Gist options
  • Save waleedshkt/c97165f930a409d5643106d9f746bd50 to your computer and use it in GitHub Desktop.
Save waleedshkt/c97165f930a409d5643106d9f746bd50 to your computer and use it in GitHub Desktop.
Zoom a single state with D3 v4
license: gpl-3.0
height: 250
border: no

Renders a single US state, using d3-zoom to fit the container, and to allow zooming and panning.

The desired behavior is to constrain panning to the bounds of the state. The TopoJSON is projected to 600x600, and at that container size, the zoom & pan works great. However, at smaller container sizes, where the map has been scaled, the panning is jumpy/broken. I've tried setting different values for translateExtent, but I don't realy understand how it's supposed to work.

One notable thing is that I'm using a null projection for d3.geoPath, because I used ogr2ogr to generate a shapefile in projected coordinates for each state. That's why I used a zoom transform to fit the map to its container.

References on bl.ocks.org:

var App = (function () {
"use strict";
var App = {
stateCode: window.location.search.substr(1) || 'ma'
};
d3.json("us-" + App.stateCode + ".json", ready);
function ready(error, topo) {
if (error) throw error;
App.state = topojson.feature(topo, topo.objects.state);
App.counties = topojson.feature(topo, topo.objects.counties).features;
App.div = d3.select('#app');
App.size = [
parseInt(App.div.style('width')), parseInt(App.div.style('height'))
];
App.path = d3.geoPath()
.projection(null);
App.transform = zoomBounds(App.path.bounds(App.state), App.size);
App.zoom = d3.zoom()
.translateExtent([[0, 0], App.size])
.scaleExtent([App.transform.k, App.transform.k * 2])
.on("zoom", zoomed);
App.svg = App.div.append("svg")
.call(App.zoom);
App.svg.append("rect")
.classed("background", true)
.on("click", reset);
App.g = App.svg.append("g")
.attr("transform", App.transform);
App.g.selectAll("path")
.data(App.counties)
.enter().append("path")
.classed("county", true)
.attr("d", App.path)
.on("click", clicked);
reset();
}
function zoomBounds(bounds, size) {
// Calculate dimensions of bounds
// and scale to fit inside container
var width = bounds[1][0] - bounds[0][0],
height = bounds[1][1] - bounds[0][1],
scale = 1 / Math.max(width / size[0], height / size[1]);
// Calculate center of bounds
// and difference from center of container
var x = (bounds[0][0] + bounds[1][0]) / 2,
y = (bounds[0][1] + bounds[1][1]) / 2,
translate = [size[0] / 2 - scale * x, size[1] / 2 - scale * y];
return d3.zoomIdentity
.translate(translate[0], translate[1])
.scale(scale);
}
function zoomed() {
App.g.attr("transform", d3.event.transform);
}
function reset() {
App.svg.call(App.zoom.transform, App.transform);
}
function clicked() {
App.svg.select(".active")
.classed("active", false);
d3.select(this)
.classed("active", true);
}
return App;
})();
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>State Zooming</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<div id="app"></div>
<script src="//d3js.org/d3.v4.min.js"></script>
<script src="//d3js.org/topojson.v1.min.js"></script>
<script src="app.js"></script>
</body>
#app {
margin: 0 auto;
height: 200px;
width: 300px;
}
/*
@media screen and (min-width: 640px) {
#app {
height: 600px;
width: 600px;
}
}
*/
svg {
border: 1px solid #ccc;
display: block;
height: 100%;
width: 100%;
}
.background {
height: 100%;
width: 100%;
fill: none;
pointer-events: all;
}
.county {
fill: #ccc;
stroke: #fff;
stroke-linejoin: round;
}
.county.active {
fill: orange;
}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
{"type":"Topology","objects":{"counties":{"type":"GeometryCollection","bbox":[208293.57602563495,-160685.80088618892,803440.1699165113,229153.1953081334],"geometries":[{"type":"MultiPolygon","properties":{"state":"WA","county":"Whatcom County"},"id":53073,"arcs":[[[0]],[[1]],[[2,3,4]]]},{"type":"Polygon","properties":{"state":"WA","county":"Okanogan County"},"id":53047,"arcs":[[5,6,7,8,9,10,-3,11]]},{"type":"Polygon","properties":{"state":"WA","county":"Stevens County"},"id":53065,"arcs":[[12,13,14,15,16]]},{"type":"Polygon","properties":{"state":"WA","county":"Pend Oreille County"},"id":53051,"arcs":[[17,-13,18]]},{"type":"Polygon","properties":{"state":"WA","county":"Ferry County"},"id":53019,"arcs":[[-16,19,-6,20]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"San Juan County"},"id":53055,"arcs":[[[21]],[[22]],[[23]],[[24]],[[25]],[[26]],[[27]]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Skagit County"},"id":53057,"arcs":[[[28]],[[29]],[[30,-4,-11,31,32,33]]]},{"type":"Polygon","properties":{"state":"WA","county":"Chelan County"},"id":53007,"arcs":[[-10,34,35,36,37,-32]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Island County"},"id":53029,"arcs":[[[38,39]],[[40]]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Clallam County"},"id":53009,"arcs":[[[41,42]]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Snohomish County"},"id":53061,"arcs":[[[-38,43,44,-39,45,-33]]]},{"type":"Polygon","properties":{"state":"WA","county":"Douglas County"},"id":53017,"arcs":[[46,47,-35,-9]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Jefferson County"},"id":53031,"arcs":[[[48]],[[49,50,51,-42,52]]]},{"type":"Polygon","properties":{"state":"WA","county":"Spokane County"},"id":53063,"arcs":[[-18,53,54,55,-14]]},{"type":"Polygon","properties":{"state":"WA","county":"Grant County"},"id":53025,"arcs":[[-8,56,57,58,59,60,61,-47]]},{"type":"Polygon","properties":{"state":"WA","county":"Lincoln County"},"id":53043,"arcs":[[-20,-15,-56,62,63,-57,-7]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Kitsap County"},"id":53035,"arcs":[[[64]],[[65,66,67,68,69]]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"King County"},"id":53033,"arcs":[[[70]],[[-37,71,72,73,-44]]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Mason County"},"id":53045,"arcs":[[[74]],[[75,-69,76,77,78,79,-50]]]},{"type":"Polygon","properties":{"state":"WA","county":"Kittitas County"},"id":53037,"arcs":[[-48,-62,80,-72,-36]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Grays Harbor County"},"id":53027,"arcs":[[[-80,81,82,83,84,-51]]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Pierce County"},"id":53053,"arcs":[[[85]],[[86]],[[87]],[[-73,88,89,90,91]],[[-66,92]],[[-77,-68,93]]]},{"type":"Polygon","properties":{"state":"WA","county":"Adams County"},"id":53001,"arcs":[[94,95,-58,-64]]},{"type":"Polygon","properties":{"state":"WA","county":"Whitman County"},"id":53075,"arcs":[[-55,96,97,98,99,100,-95,-63]]},{"type":"Polygon","properties":{"state":"WA","county":"Thurston County"},"id":53067,"arcs":[[-91,101,-82,-79,102]]},{"type":"Polygon","properties":{"state":"WA","county":"Yakima County"},"id":53077,"arcs":[[-61,103,104,105,106,-89,-81]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Pacific County"},"id":53049,"arcs":[[[107]],[[108,109,110,-84]]]},{"type":"Polygon","properties":{"state":"WA","county":"Lewis County"},"id":53041,"arcs":[[-102,-90,-107,111,112,113,-109,-83]]},{"type":"Polygon","properties":{"state":"WA","county":"Franklin County"},"id":53021,"arcs":[[114,115,116,-59,-96,-101]]},{"type":"Polygon","properties":{"state":"WA","county":"Benton County"},"id":53005,"arcs":[[117,118,119,-104,-60,-117]]},{"type":"Polygon","properties":{"state":"WA","county":"Garfield County"},"id":53023,"arcs":[[120,121,122,-99]]},{"type":"Polygon","properties":{"state":"WA","county":"Columbia County"},"id":53013,"arcs":[[123,124,-115,-100,-123]]},{"type":"Polygon","properties":{"state":"WA","county":"Walla Walla County"},"id":53071,"arcs":[[-125,125,-118,-116]]},{"type":"Polygon","properties":{"state":"WA","county":"Asotin County"},"id":53003,"arcs":[[126,-121,-98]]},{"type":"Polygon","properties":{"state":"WA","county":"Skamania County"},"id":53059,"arcs":[[-106,127,128,129,130,-112]]},{"type":"Polygon","properties":{"state":"WA","county":"Cowlitz County"},"id":53015,"arcs":[[-131,131,132,133,-113]]},{"type":"MultiPolygon","properties":{"state":"WA","county":"Wahkiakum County"},"id":53069,"arcs":[[[134]],[[-114,-134,135,-110]]]},{"type":"Polygon","properties":{"state":"WA","county":"Clark County"},"id":53011,"arcs":[[-130,136,-132]]},{"type":"Polygon","properties":{"state":"WA","county":"Klickitat County"},"id":53039,"arcs":[[-120,137,-128,-105]]}]},"state":{"type":"GeometryCollection","geometries":[{"type":"MultiPolygon","arcs":[[[0]],[[1]],[[20,16,18,53,96,126,121,123,125,118,137,128,136,132,135,110,84,51,42,52,75,69,92,66,93,77,102,91,73,44,39,45,33,30,4,11]],[[21]],[[22]],[[23]],[[24]],[[25]],[[26]],[[27]],[[28]],[[29]],[[40]],[[48]],[[64]],[[70]],[[74]],[[85]],[[86]],[[87]],[[107]],[[134]]],"id":53,"properties":{"state":"WA"}}]}},"arcs":[[[2615,9062],[66,-112],[23,-114],[-79,121],[-19,81],[-36,25],[6,88],[39,-89]],[[2195,9890],[14,-70],[-72,-14],[-9,87],[67,-3]],[[4878,9826],[-41,-73],[67,-105],[37,60],[41,-14],[-3,-202],[47,-80],[-14,-92],[10,-106],[100,-175],[-60,-77],[-60,-114]],[[5002,8848],[-196,0],[-1,-47],[-338,1],[-771,18],[-60,5],[-784,22]],[[2852,8847],[-1,75],[-34,126],[36,75],[-60,102],[-66,-14],[-70,-153],[-30,51],[33,106],[-38,88],[-33,2],[-10,126],[-92,138],[54,52],[2,61],[-54,-3],[-31,61],[40,82],[47,-73],[20,42],[-30,85],[811,-24],[416,-24],[522,3],[594,-5]],[[7355,9874],[19,-986],[-43,-3],[9,-490],[32,1],[7,-622],[15,-856],[-7,-17]],[[7387,6901],[-128,-53],[-24,7]],[[7235,6855],[-12,52]],[[7223,6907],[37,164],[-71,75],[-33,197],[-52,69],[-78,28],[-151,-145],[-53,37],[-34,-46],[-18,-144],[-69,-2],[-53,77],[-80,13],[-34,-81],[-78,-92],[-28,-68],[-54,12],[-41,62],[22,109],[-18,79],[-55,-17],[-52,47],[-148,-134],[24,-110],[-14,-121],[17,-44]],[[6109,6872],[-224,-4],[-27,23],[-31,147],[-64,45],[2,82],[-101,52],[-85,130],[-33,-16],[-57,126],[20,86],[-57,125],[-95,72],[-57,124],[-49,-13],[-45,42],[32,142],[-73,75],[-36,-3],[8,199],[-11,198],[-62,-15]],[[5064,8489],[20,99],[-25,69],[-48,-34],[-49,67],[-6,67],[46,91]],[[4878,9826],[1002,5],[948,24],[527,19]],[[9084,9968],[6,-221],[-85,-6],[8,-245],[-80,-6],[7,-268],[-81,-5],[7,-247],[160,11],[23,-815],[16,-671],[81,5],[8,-249]],[[9154,7251],[-123,-6],[19,-717],[-77,6],[-46,97],[-44,42],[-1,83],[-35,15],[-6,-85],[-114,-137],[-37,39]],[[8690,6588],[-78,59],[-59,-70],[-76,26],[-29,-87],[-79,-19],[-55,90],[-7,74],[-115,242],[-48,-9],[-112,-145]],[[8032,6749],[-22,99],[7,121],[-52,138],[55,79],[95,3],[29,43],[-6,186],[57,59],[2,169],[62,143],[-35,130],[-18,193],[-41,176],[10,151],[46,107],[40,155],[-10,73],[39,198],[-26,18],[-19,253],[-43,83],[-17,101],[-32,34],[-24,131],[19,70],[-30,75],[-3,91],[26,82]],[[8141,9910],[943,58]],[[9647,7282],[-493,-31]],[[9084,9968],[487,31],[55,-1803],[21,-914]],[[8032,6749],[-32,-177],[-34,-6],[-73,52],[-19,90],[-40,-27],[-57,27],[14,76],[-50,60],[-102,-19],[-46,42],[-27,-113],[-30,-10],[-112,69],[-37,88]],[[7355,9874],[786,36]],[[2469,8517],[-29,-95],[-26,71],[55,24]],[[2367,8602],[21,-55],[-20,-80],[26,-73],[2,-101],[35,45],[25,-39],[-18,-76],[-99,6],[37,57],[-56,14],[-42,55],[5,89],[38,59],[-7,95],[46,52],[7,-48]],[[2464,8685],[32,-92],[-46,-56],[-22,138],[36,10]],[[2258,8724],[37,-62],[39,22],[-56,-95],[-61,103],[41,32]],[[2034,8819],[50,-9],[7,-68],[103,-108],[40,-136],[-47,9],[12,-128],[52,-65],[-86,27],[-121,123],[-47,176],[30,61],[7,118]],[[2347,9064],[81,-50],[110,-111],[-71,-80],[-3,-81],[-37,-5],[-64,168],[-1,91],[-46,-14],[13,-83],[34,-54],[21,-101],[-26,-38],[-77,26],[-10,97],[-34,35],[-6,-117],[-19,82],[-30,-50],[24,119],[94,155],[47,11]],[[2211,9090],[4,-79],[-81,19],[77,60]],[[2716,8591],[-3,-48],[-47,-29],[-24,38],[8,140],[66,-101]],[[2596,8704],[30,-70],[-66,-77],[-22,129],[37,67],[21,-49]],[[2640,8186],[-28,41],[26,90],[-26,97],[-31,4],[111,84],[33,-160],[36,94],[23,-94],[67,-36],[-2,230],[-19,80],[49,-21],[49,120],[-76,132]],[[5064,8489],[-106,-71],[-38,41],[-7,69],[-42,10],[-60,-73],[-42,22],[-23,-85],[-96,-17],[-31,-118],[28,-43],[-36,-127],[29,-137],[-36,-79],[87,-65]],[[4691,7816],[-603,6],[-115,11],[-528,5],[-477,12]],[[2968,7850],[-29,85],[-105,114],[-49,32],[-51,203],[-9,-54],[-85,-44]],[[6109,6872],[12,-59],[-66,-108],[-2,-110],[-52,-48],[-43,-187],[-129,-50],[-41,33],[-71,-45],[-46,-114],[30,-80],[-45,-183],[2,-81],[-35,-132],[-52,-101],[-16,-139],[40,-223],[38,-30],[163,-47],[56,-94],[-12,-198]],[[5840,4876],[-374,-7],[-163,169],[-66,-32],[-13,78],[-115,22],[-63,67],[-18,71],[-61,16],[-27,67],[-52,-32],[-103,67],[-9,68],[-74,117],[-7,54],[-98,91],[-50,133]],[[4547,5825],[-25,138],[14,109],[70,64],[-15,96],[-50,115]],[[4541,6347],[62,133],[-104,53],[7,32],[-41,116],[40,230],[39,82],[-44,97],[46,47],[107,60],[21,-9],[85,107],[-10,113],[61,32],[-17,78],[-55,57],[6,46],[-51,101],[-2,94]],[[2941,7718],[11,-60]],[[2952,7658],[-71,6],[10,-67],[-45,-54],[42,-162],[78,-129],[25,-89],[-135,215],[-54,11],[-28,144],[12,191],[56,-1],[22,52],[77,-57]],[[2714,8141],[13,-65],[-28,-49],[44,-23],[62,-83],[13,-56],[-67,-52],[-39,50],[-70,-50],[-30,-111],[-82,-21],[15,-52],[91,31],[50,-51],[26,-80],[32,-180],[-18,-47],[30,-79],[5,-168],[26,13],[14,155],[-17,61],[42,-3],[56,-127],[86,-53],[3,-95],[28,-116],[-36,-153],[-69,24],[-17,143],[-52,76],[-74,-61],[7,80],[-79,103],[17,68],[-24,50],[21,107],[-31,148],[-66,-19],[-12,66],[-100,138],[63,225],[63,141],[15,134],[89,-19]],[[2280,7213],[-28,2],[-10,-565],[-705,32],[1,41],[-765,45],[-617,43]],[[156,6811],[-27,37],[-29,155],[-32,325],[13,106],[-50,206],[40,53],[17,88],[-16,58],[27,46],[0,98],[38,112],[-44,38],[-43,103],[32,26],[87,-5],[9,-45],[79,-18],[33,-55],[109,-100],[67,-89],[153,-105],[22,28],[180,-149],[-9,-45],[73,-72],[83,-41],[143,-38],[109,-4],[91,30],[147,-101],[38,42],[65,-58],[52,4],[47,-48],[134,-20],[90,4],[78,85],[90,2],[80,-153],[9,-126],[49,-77],[-27,164],[54,32],[79,-4],[-16,-87]],[[4541,6347],[-424,5],[-195,-8],[-492,5],[-495,21]],[[2935,6370],[1,71],[71,123],[46,292],[95,57],[31,169],[-95,62],[-92,197],[-10,138],[19,56],[-49,123]],[[2941,7718],[13,-16],[14,148]],[[7223,6907],[-153,-6],[-25,-127],[-26,-43],[-55,-2],[-26,-44],[3,-248],[-27,-1],[1,-81],[-28,-2],[1,-84],[-53,-41],[2,-166],[-27,-3],[1,-122],[-26,-41],[-80,-2],[-52,-122],[-28,0],[-26,-82],[-53,-43],[2,-246],[-434,-23],[1,-81],[-54,-43],[0,-83],[-108,-128],[-1,-285]],[[5952,4758],[-72,8],[-40,110]],[[2576,7288],[22,-226],[-25,-21],[-62,116],[19,98],[30,-177],[13,101],[-29,96],[32,13]],[[2180,5908],[-653,34],[-5,-255]],[[1522,5687],[-687,42],[2,45],[-389,26]],[[448,5800],[-27,283],[-32,168],[-17,167],[-51,66],[-21,140],[-61,48],[-20,86],[-63,53]],[[2280,7213],[65,-53],[16,-92],[-36,-70],[69,53],[9,106],[-77,86],[13,92],[66,71],[93,24],[7,-75],[-68,-81],[62,-181],[19,20],[20,-130],[44,-48],[-2,-162],[87,-82],[-49,-65],[-55,13],[8,-95],[-72,-68],[-23,-179],[-31,-64],[11,-94],[-75,5],[34,115],[28,205],[-28,106],[-17,-142],[-59,6],[19,-159],[-26,21],[-51,-224],[-101,-164]],[[9647,7282],[26,-843],[29,-775],[20,-622]],[[9722,5042],[-618,-42],[-377,-22]],[[8727,4978],[-37,1610]],[[7235,6855],[9,-953],[14,-992]],[[7258,4910],[12,-998],[-494,-13],[5,-500]],[[6781,3399],[3,-168],[-109,0]],[[6675,3231],[-45,108],[-43,21],[-70,-150],[-63,-82],[-119,4],[-38,-34],[-104,-32],[-57,8]],[[6136,3074],[-36,19],[-61,128],[-33,160]],[[6006,3381],[38,108],[19,121],[-48,109],[-4,248],[-47,149],[-16,128],[-33,86],[48,183],[-14,95],[3,150]],[[8727,4978],[-173,-10]],[[8554,4968],[-540,-28],[-756,-30]],[[2754,6150],[32,25],[-11,-156],[35,-56],[-16,-45],[26,-98],[-55,-22],[-33,82],[-33,-13],[-16,181],[34,57],[16,109],[21,-64]],[[2721,5309],[-95,4]],[[2626,5313],[-9,0]],[[2617,5313],[-212,9]],[[2405,5322],[7,331],[-281,12]],[[2131,5665],[77,179],[54,39],[8,64],[114,88],[-12,-45],[105,79],[10,141],[85,232],[78,104],[19,57],[37,-2],[-1,-115],[19,17],[-21,246],[-40,51],[113,-41],[21,-229],[29,-47],[-22,-79],[31,-118],[-110,16],[14,-47],[-55,-125],[-29,31],[-4,-147],[31,-48],[-24,-184],[-49,54],[-46,182],[-30,-126],[48,-13],[56,-84],[-8,-43],[-85,-82],[114,52],[67,119],[21,-64],[-13,-126],[64,-41],[-45,-106],[-5,-121],[-26,-74]],[[2867,5315],[78,-54],[-71,-54],[-31,-73],[-37,101],[-12,-136],[-40,23],[13,114],[-14,56],[19,143],[43,100],[6,74],[53,-126],[-7,-168]],[[4547,5825],[-74,-20],[-10,-71],[-62,2],[-9,-60],[-55,-61],[-30,-105],[-98,-89],[-10,-60],[-50,-32],[-16,-142],[-33,-49],[42,-58],[-3,-117],[117,-36],[11,-64],[-42,-101],[61,-34],[-2,-109],[24,-70],[-21,-41],[-62,21],[-56,-64],[35,-92]],[[4204,4373],[-79,-6],[-62,93],[-52,23],[-63,-16],[-63,100],[-43,18],[-67,-24],[-100,66],[-61,-85],[-75,38],[-45,-48],[-23,51],[-72,58],[-42,-13],[-62,68],[-59,182],[-244,7],[-103,182]],[[2889,5067],[119,77],[-3,148],[-49,166],[6,86],[-42,83],[-1,109],[-25,60],[44,56],[48,-94],[11,116],[-120,167],[34,28],[49,158],[-25,143]],[[2312,4971],[-3,-87],[34,-109],[-45,-133],[-20,124],[-38,78],[10,115],[92,69],[-30,-57]],[[2180,5908],[-67,-156],[-27,-138],[-70,-129],[-41,-145],[-24,-148],[59,-29],[8,43],[46,-27],[61,13],[43,54],[96,39],[89,131],[-31,-12],[-191,-152],[-9,-37],[-111,37],[-9,50],[47,149],[67,140],[15,74]],[[2405,5322],[-3,-128]],[[2402,5194],[-30,-19],[-29,-115],[-102,-80],[-18,-99],[4,-108],[-81,-20],[-81,18],[29,126],[-69,-121],[186,-19],[-19,-89],[-76,-53],[-11,-86],[-48,-7],[-15,-57]],[[2042,4465],[-1,-39],[-162,9]],[[1879,4435],[-366,12],[10,499],[-20,1],[19,740]],[[6006,3381],[-203,-8],[-486,3],[0,246],[-161,3],[-1,246],[-501,-2],[-81,166],[0,62],[-243,280],[-100,-51],[-26,47]],[[1879,4435],[-4,-251],[55,-5],[-14,-578]],[[1916,3601],[-270,10]],[[1646,3611],[-238,18],[-437,20],[-258,21]],[[713,3670],[-20,218],[-20,102],[54,-15],[1,-107],[39,-8],[20,89],[291,165],[-68,41],[-90,0],[38,31],[-93,5],[-42,145],[-43,40],[-78,1],[-38,-62],[13,-140],[35,-105],[-54,39],[-33,-53],[11,120],[3,300],[-34,422],[-25,174],[-55,73],[-20,118],[-29,25],[-15,186],[-13,326]],[[2556,4631],[-47,-102],[-41,75],[49,96],[39,-69]],[[2552,4822],[45,-90],[-49,-21],[-58,48],[31,66],[31,-3]],[[2580,4951],[88,-114],[-30,-50],[-58,164]],[[4204,4373],[7,-87],[-34,-65],[-9,-100],[-65,-97],[10,-85],[-61,-72],[-35,-102],[36,-29],[26,-122],[40,-78],[-16,-28]],[[4103,3508],[-389,8],[-93,-154],[-128,33],[-24,37],[-72,3],[-43,-32],[-58,32],[-123,12],[-30,23]],[[3143,3470],[-47,45],[-37,-27],[-56,75],[13,96],[-32,46],[-101,-3],[-106,75],[-2,108],[-91,101],[-14,108],[-77,10],[11,49],[-56,64],[-34,134],[10,92]],[[2524,4443],[86,115],[24,85],[38,44],[74,302],[-4,72],[122,-161],[29,91],[-39,20],[35,56]],[[2721,5309],[16,-72],[-45,-144],[30,-113],[-49,-95],[-7,51],[-112,45],[-10,59],[44,75],[-19,29],[59,80],[-2,89]],[[2617,5313],[-10,-68],[-107,-113],[-42,-225],[44,-96],[-32,-56],[-25,-110],[-85,220],[54,140],[-12,189]],[[8554,4968],[26,-984],[-12,-134],[-42,-61],[10,-72],[-17,-92],[-44,-66],[-61,27],[-85,-96],[-59,-25]],[[8270,3465],[-178,-15],[-513,-28],[-424,-8],[-374,-15]],[[9722,5042],[77,-2374]],[[9799,2668],[-64,-30],[-81,33],[-61,-34],[-40,117]],[[9553,2754],[-8,119],[-32,115],[-56,80],[-66,27],[-50,80],[-12,108],[-67,32],[-47,96],[-45,-67],[-114,-23],[-56,68],[-57,12],[-81,-42],[-26,-136],[-30,-50],[-69,-8]],[[8737,3165],[-37,-102],[-90,1],[-179,-60],[-37,-53],[-65,-3],[-57,89]],[[8272,3037],[18,101],[-42,90],[16,64],[-45,153],[51,20]],[[3143,3470],[-539,14],[-690,34],[2,83]],[[2042,4465],[78,48],[96,154],[29,4],[-50,-103],[-9,-92],[-24,-1],[-48,-105],[88,88],[32,133],[-17,-183],[55,-91],[-13,76],[19,103],[-20,80],[84,63],[13,-132],[22,170],[35,-146],[80,-94],[32,6]],[[6136,3074],[9,-1181],[9,0],[5,-496]],[[6159,1397],[-990,-10],[-577,4],[-81,7],[-509,3]],[[4002,1401],[7,983]],[[4009,2384],[166,0],[11,57],[-28,65],[-53,204],[-1,86],[50,71],[35,222],[-34,34],[0,77],[67,129],[-87,54],[6,51],[-38,74]],[[846,2786],[42,-69],[-5,-153],[-63,128],[26,94]],[[1646,3611],[-7,-655],[7,0],[-9,-510]],[[1637,2446],[-475,30],[-9,-270]],[[1153,2206],[-44,-43],[-58,29],[-94,-119],[-42,18],[-49,77],[-26,91],[-64,41],[-81,-129],[25,165],[21,360],[-4,535],[56,-170],[-17,-243],[19,-353],[41,19],[34,-37],[2,96],[57,100],[-39,142],[27,62],[32,-12],[7,114],[-77,188],[51,112],[-4,57],[99,84],[36,-47],[-21,90],[-72,97],[-21,-61],[-84,31],[13,-89],[-158,97],[-5,162]],[[4009,2384],[-764,14],[-164,-4]],[[3081,2394],[-1128,49],[-134,-2]],[[1819,2441],[-182,5]],[[8272,3037],[-18,12]],[[8254,3049],[-75,0],[-46,32],[-80,-74],[-117,31],[-27,-60],[-63,-56],[-85,-151],[-25,-204],[4,-63],[-74,-97],[-9,-54],[-57,-2],[-36,-200],[-54,-11],[-56,-104],[-141,-41],[-65,-66],[-22,-68]],[[7226,1861],[-100,81],[-119,39],[-77,102],[18,89],[-26,190],[12,174],[-16,249],[-46,52],[-128,201],[-13,109],[-56,84]],[[7226,1861],[80,-130],[50,-185],[8,-147],[-59,-86]],[[7305,1313],[-27,-60],[-151,-138],[-91,-17],[-80,32],[-139,-56],[-112,-16],[-49,-33],[-110,52],[-67,-58],[-59,-141],[-258,-65]],[[6162,813],[-3,584]],[[9553,2754],[4,-145],[-164,-9],[1,-41],[-55,-3],[-26,-44],[22,-745],[-79,-5],[11,-354]],[[9267,1408],[-161,-7]],[[9106,1401],[-10,348],[-12,-1],[-16,620],[-81,-8],[-2,128],[-57,41],[-3,125],[-27,-2],[-2,84],[-162,-11],[-5,255],[12,1],[-4,184]],[[9106,1401],[-512,-26]],[[8594,1375],[3,60],[-10,531],[-162,-9],[-6,250],[-162,-10],[-18,756],[15,96]],[[8594,1375],[-634,-33],[-655,-29]],[[9799,2668],[-11,-233],[88,-124],[50,-204],[-7,-76],[55,-82],[-12,-94],[-51,-168],[47,-47],[41,-186],[-93,-2],[-639,-44]],[[4002,1401],[-115,1],[-3,-493],[3,-252],[122,-3],[-29,-31],[19,-133]],[[3999,490],[-229,-84],[-145,37],[-103,-61],[-29,-81],[-121,-102],[-148,-95],[-42,-6],[-140,-93]],[[3042,5],[8,784],[9,149],[5,511]],[[3064,1449],[4,447],[7,19],[6,479]],[[3064,1449],[-59,-11],[-40,-106],[-18,-137],[-31,-19],[-54,46],[-42,-4],[-60,52],[-60,-9],[-48,-88],[-75,-47],[-102,18],[-58,-72],[-7,-125],[-58,-55]],[[2352,892],[-29,193],[-1,109],[-75,200],[-38,169],[-71,54],[-59,99],[-144,150],[-65,11],[-58,-34]],[[1812,1843],[7,598]],[[1576,1897],[45,-31],[58,-99],[-71,14],[-71,93],[6,67],[33,-44]],[[1812,1843],[-86,-66],[-63,38],[-105,154],[-15,65],[-59,102],[-185,-26],[-72,23],[-20,115],[-54,-42]],[[3042,5],[-85,-5],[-81,86],[-56,-20],[-210,109],[-61,11],[-161,125],[-27,119],[16,219],[-38,137],[13,106]],[[6162,813],[-128,-35],[-151,-127],[-114,-55],[-58,-108],[-88,-11],[-129,-59],[-133,-17],[-96,116],[-101,24],[-80,-85],[-208,-123],[-85,-94],[-42,53],[-42,-24],[-78,26],[-48,-22],[-78,-111],[-50,-19],[-28,34],[-21,144],[-163,108],[-79,-35],[-81,28],[-82,69]]],"transform":{"scale":[0.060006000600060005,-0.03930574295423505],"translate":[-5.684341886080802e-14,496.5090618996981]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment