Skip to content

Instantly share code, notes, and snippets.

@johnpoole
Forked from eesur/README.md
Created April 23, 2019 00:02
Show Gist options
  • Save johnpoole/1d14545dfe63c680ae6efa242735e2fe to your computer and use it in GitHub Desktop.
Save johnpoole/1d14545dfe63c680ae6efa242735e2fe to your computer and use it in GitHub Desktop.
d3js | us hex map

flashing heatmap (random data updating, every five seconds)—testing out the very useful and awesome tilegrams

<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: Consolas, monaco, monospace;
background: #130C0E;
font-weight: 400;
color: #fff;
}
.wrap {
width: 960px;
margin: 20px auto;
}
#state {
padding-left: 20px;
font-weight: normal;
letter-spacing: 1px;
}
.border:hover {
cursor: pointer;
opacity: 0.7;
}
.state-label {
fill: #fff;
fill-opacity: .9;
letter-spacing: 1px;
font-size: 18px;
font-weight: 600;
text-anchor: middle;
pointer-events: none;
}
</style>
<script type='text/javascript' src='//d3js.org/d3.v4.min.js'></script>
<script type='text/javascript' src='//d3js.org/topojson.v1.min.js'></script>
<script type='text/javascript' src='//cdnjs.cloudflare.com/ajax/libs/d3-legend/2.13.0/d3-legend.min.js'></script>
<script type='text/javascript' src='//cdn.jsdelivr.net/lodash/4.16.6/lodash.min.js'></script>
<script type='text/javascript' src='stateCodes.js'></script>
<body>
<!-- START required DOM structure -->
<section class="wrap">
<header>
<h2 id='state'>US states heatmap vis, rollover to see random data :)</h2>
</header>
<div id='vis'>
<svg></svg>
</div>
</section>
<!-- d3 code -->
<script src="script-compiled.js"></script>
<script>
render()
setInterval(function() {
// make it dance
render()
}, 5000)
d3.select(self.frameElement).style('height', '650px');
</script>
'use strict';
function render() {
var w = 960;
var h = 560;
var stateCodesWithNames = window.stateCodesWithNames;
var topojson = window.topojson;
var d3 = window.d3;
var _ = window._;
var data = generateData();
function generateData() {
var states = ['DE', 'DC', 'FL', 'GA', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'OH', 'OK', 'OR', 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VA', 'WA', 'WV', 'WI', 'WY', 'AK', 'CA', 'CO', 'AZ', 'AR', 'AL', 'CT'];
function dataArray() {
var data = [];
_.times(states.length, function (n) {
data.push({
code: states[n],
value: _.random(1, 98.5)
});
});
return data;
}
return dataArray();
}
var f = d3.format('.1f');
// var color = d3.scaleSequential(d3.interpolateViridis)
// color.domain([0, 100])
var svg = d3.select('svg').attr('width', w).attr('height', h);
d3.json('tiles-topo-us.json', function showData(error, tilegram) {
var tiles = topojson.feature(tilegram, tilegram.objects.tiles);
var transform = d3.geoTransform({
point: function point(x, y) {
return this.stream.point(x, -y);
}
});
var path = d3.geoPath().projection(transform);
var g = svg.append('g').attr('transform', 'translate(-350,' + (h - 10) + ')');
// build list of state codes
var stateCodes = [];
// build list of state names
var stateNames = [];
// build a list of colour values
var colorValues = [];
tilegram.objects.tiles.geometries.forEach(function (geometry) {
if (stateCodes.indexOf(geometry.properties.state) === -1) {
stateCodes.push(geometry.properties.state);
// pass in state names
stateNames.push(_.find(stateCodesWithNames, { 'code': geometry.properties.state }).state);
// pass in colour values
colorValues.push(_.find(data, { 'code': geometry.properties.state }).value);
}
});
console.log('stateCodes', stateCodes);
console.log('stateNames', stateNames);
console.log('colorValues', colorValues);
var linear = d3.scaleLinear().domain([0, _.mean(colorValues), d3.max(colorValues)]).range(['#FDBB30', '#F47521', '#EE3124']);
var borders = g.selectAll('.tiles').data(tiles.features).enter().append('path').attr('d', path).attr('class', 'border').attr('fill', function (d, i) {
return linear(colorValues[i]);
}).attr('stroke', '#130C0E').attr('stroke-width', 4);
borders.on('click', function (d, i) {
console.log('d', d);
console.log('stateCodes[i]', stateCodes[i]);
console.log('stateNames[i]', stateNames[i]);
});
borders.on('mouseover', function (d, i) {
d3.select('#state').text(stateNames[i] + ' : ' + f(colorValues[i]));
});
// add some labels
g.selectAll('.state-label').data(tiles.features).enter().append('text').attr('class', function (d) {
return 'state-label state-label-' + d.id;
}).attr('transform', function (d) {
return 'translate(' + path.centroid(d) + ')';
}).attr('dy', '.35em')
// .attr('dx', '10px')
.text(function (d) {
return d.properties.state;
});
svg.append('g').attr('class', 'legendLinear').attr('transform', 'translate(0,650)');
var legendLinear = d3.legendColor().shapeWidth(40).cells(8).labelFormat(function (d) {
return _.round(d, -1);
}).orient('horizontal').scale(linear);
svg.select('.legendLinear').call(legendLinear);
svg.select('.legendLinear').append('text').attr('x', 0).attr('y', -10).attr('text-anchor', 'left').text('Number of Universities');
});
}
var stateCodesWithNames = [
{
state : 'Alabama',
code : 'AL'
},
{
state : 'Alaska',
code : 'AK'
},
{
state : 'American Samoa',
code : 'AS'
},
{
state : 'Arizona',
code : 'AZ'
},
{
state : 'Arkansas',
code : 'AR'
},
{
state : 'California',
code : 'CA'
},
{
state : 'Colorado',
code : 'CO'
},
{
state : 'Connecticut',
code : 'CT'
},
{
state : 'Delaware',
code : 'DE'
},
{
state : 'Dist. of Columbia',
code : 'DC'
},
{
state : 'Florida',
code : 'FL'
},
{
state : 'Georgia',
code : 'GA'
},
{
state : 'Guam',
code : 'GU'
},
{
state : 'Hawaii',
code : 'HI'
},
{
state : 'Idaho',
code : 'ID'
},
{
state : 'Illinois',
code : 'IL'
},
{
state : 'Indiana',
code : 'IN'
},
{
state : 'Iowa',
code : 'IA'
},
{
state : 'Kansas',
code : 'KS'
},
{
state : 'Kentucky',
code : 'KY'
},
{
state : 'Louisiana',
code : 'LA'
},
{
state : 'Maine',
code : 'ME'
},
{
state : 'Maryland',
code : 'MD'
},
{
state : 'Marshall Islands',
code : 'MH'
},
{
state : 'Massachusetts',
code : 'MA'
},
{
state : 'Michigan',
code : 'MI'
},
{
state : 'Micronesia',
code : 'FM'
},
{
state : 'Minnesota',
code : 'MN'
},
{
state : 'Mississippi',
code : 'MS'
},
{
state : 'Missouri',
code : 'MO'
},
{
state : 'Montana',
code : 'MT'
},
{
state : 'Nebraska',
code : 'NE'
},
{
state : 'Nevada',
code : 'NV'
},
{
state : 'New Hampshire',
code : 'NH'
},
{
state : 'New Jersey',
code : 'NJ'
},
{
state : 'New Mexico',
code : 'NM'
},
{
state : 'New York',
code : 'NY'
},
{
state : 'North Carolina',
code : 'NC'
},
{
state : 'North Dakota',
code : 'ND'
},
{
state : 'Northern Marianas',
code : 'MP'
},
{
state : 'Ohio',
code : 'OH'
},
{
state : 'Oklahoma',
code : 'OK'
},
{
state : 'Oregon',
code : 'OR'
},
{
state : 'Palau',
code : 'PW'
},
{
state : 'Pennsylvania',
code : 'PA'
},
{
state : 'Puerto Rico',
code : 'PR'
},
{
state : 'Rhode Island',
code : 'RI'
},
{
state : 'South Carolina',
code : 'SC'
},
{
state : 'South Dakota',
code : 'SD'
},
{
state : 'Tennessee',
code : 'TN'
},
{
state : 'Texas',
code : 'TX'
},
{
state : 'Utah',
code : 'UT'
},
{
state : 'Vermont',
code : 'VT'
},
{
state : 'Virginia',
code : 'VA'
},
{
state : 'Virgin Islands',
code : 'VI'
},
{
state : 'Washington',
code : 'WA'
},
{
state : 'West Virginia',
code : 'WV'
},
{
state : 'Wisconsin',
code : 'WI'
},
{
state : 'Wyoming',
code : 'WY'
}
];
Display the source blob
Display the rendered blob
Raw
{"type":"Topology","objects":{"tiles":{"type":"GeometryCollection","geometries":[{"type":"Polygon","id":"10","properties":{"state":"DE","tilegramValue":1},"arcs":[[0,1,2,3,4]]},{"type":"Polygon","id":"11","properties":{"state":"DC","tilegramValue":1},"arcs":[[5,-1,6,7]]},{"type":"Polygon","id":"12","properties":{"state":"FL","tilegramValue":1},"arcs":[[8,9,10]]},{"type":"Polygon","id":"13","properties":{"state":"GA","tilegramValue":1},"arcs":[[-9,11,12,13,14]]},{"type":"Polygon","id":"15","properties":{"state":"HI","tilegramValue":1},"arcs":[[15]]},{"type":"Polygon","id":"16","properties":{"state":"ID","tilegramValue":1},"arcs":[[16,17,18,19,20,21]]},{"type":"Polygon","id":"17","properties":{"state":"IL","tilegramValue":1},"arcs":[[22,23,24,25,26,27]]},{"type":"Polygon","id":"18","properties":{"state":"IN","tilegramValue":1},"arcs":[[28,29,30,31,32,-25]]},{"type":"Polygon","id":"19","properties":{"state":"IA","tilegramValue":1},"arcs":[[33,34,-28,35,36,37]]},{"type":"Polygon","id":"20","properties":{"state":"KS","tilegramValue":1},"arcs":[[38,39,40,41,42,43]]},{"type":"Polygon","id":"21","properties":{"state":"KY","tilegramValue":1},"arcs":[[44,45,46,-29,-24,47]]},{"type":"Polygon","id":"22","properties":{"state":"LA","tilegramValue":1},"arcs":[[48,49,50,51,-40,52]]},{"type":"Polygon","id":"23","properties":{"state":"ME","tilegramValue":1},"arcs":[[53,54]]},{"type":"Polygon","id":"24","properties":{"state":"MD","tilegramValue":1},"arcs":[[55,-7,-5,56,57,58]]},{"type":"Polygon","id":"25","properties":{"state":"MA","tilegramValue":1},"arcs":[[59,60,61,62,63,64]]},{"type":"Polygon","id":"26","properties":{"state":"MI","tilegramValue":1},"arcs":[[-32,65,66]]},{"type":"Polygon","id":"27","properties":{"state":"MN","tilegramValue":1},"arcs":[[67,-37,68,69,70]]},{"type":"Polygon","id":"28","properties":{"state":"MS","tilegramValue":1},"arcs":[[71,72,73,74,-51]]},{"type":"Polygon","id":"29","properties":{"state":"MO","tilegramValue":1},"arcs":[[-42,75,-48,-23,-35,76]]},{"type":"Polygon","id":"30","properties":{"state":"MT","tilegramValue":1},"arcs":[[-20,77,78,79,80]]},{"type":"Polygon","id":"31","properties":{"state":"NE","tilegramValue":1},"arcs":[[81,-43,-77,-34,82,83]]},{"type":"Polygon","id":"32","properties":{"state":"NV","tilegramValue":1},"arcs":[[84,85,86,87,-18,88]]},{"type":"Polygon","id":"33","properties":{"state":"NH","tilegramValue":1},"arcs":[[-63,89,90,-54,91,92]]},{"type":"Polygon","id":"34","properties":{"state":"NJ","tilegramValue":1},"arcs":[[-57,-4,93,-60,94,95]]},{"type":"Polygon","id":"35","properties":{"state":"NM","tilegramValue":1},"arcs":[[96,97,-44,-82,98,99]]},{"type":"Polygon","id":"36","properties":{"state":"NY","tilegramValue":1},"arcs":[[100,-95,-65,101,102]]},{"type":"Polygon","id":"37","properties":{"state":"NC","tilegramValue":1},"arcs":[[103,-14,104,105,106,107]]},{"type":"Polygon","id":"38","properties":{"state":"ND","tilegramValue":1},"arcs":[[108,109,-71,110,-79]]},{"type":"Polygon","id":"39","properties":{"state":"OH","tilegramValue":1},"arcs":[[111,112,113,114,-66,-31]]},{"type":"Polygon","id":"40","properties":{"state":"OK","tilegramValue":1},"arcs":[[115,116,-53,-39,-98,117]]},{"type":"Polygon","id":"41","properties":{"state":"OR","tilegramValue":1},"arcs":[[118,-89,-17,119]]},{"type":"Polygon","id":"42","properties":{"state":"PA","tilegramValue":1},"arcs":[[120,-58,-96,-101,121,-114]]},{"type":"Polygon","id":"44","properties":{"state":"RI","tilegramValue":1},"arcs":[[122,123,-90,-62]]},{"type":"Polygon","id":"45","properties":{"state":"SC","tilegramValue":1},"arcs":[[-13,124,-8,-56,125,-105]]},{"type":"Polygon","id":"46","properties":{"state":"SD","tilegramValue":1},"arcs":[[126,-83,-38,-68,-110,127]]},{"type":"Polygon","id":"47","properties":{"state":"TN","tilegramValue":1},"arcs":[[-74,128,-108,129,-46,130]]},{"type":"Polygon","id":"48","properties":{"state":"TX","tilegramValue":1},"arcs":[[-49,-117,131]]},{"type":"Polygon","id":"49","properties":{"state":"UT","tilegramValue":1},"arcs":[[132,133,-100,134,-86,135]]},{"type":"Polygon","id":"50","properties":{"state":"VT","tilegramValue":1},"arcs":[[-102,-64,-93,136]]},{"type":"Polygon","id":"51","properties":{"state":"VA","tilegramValue":1},"arcs":[[-106,-126,-59,-121,-113,137]]},{"type":"Polygon","id":"53","properties":{"state":"WA","tilegramValue":1},"arcs":[[-21,-81,138]]},{"type":"Polygon","id":"54","properties":{"state":"WV","tilegramValue":1},"arcs":[[-130,-107,-138,-112,-30,-47]]},{"type":"Polygon","id":"55","properties":{"state":"WI","tilegramValue":1},"arcs":[[-36,-27,139,-69]]},{"type":"Polygon","id":"56","properties":{"state":"WY","tilegramValue":1},"arcs":[[-88,140,-128,-109,-78,-19]]},{"type":"Polygon","id":"02","properties":{"state":"AK","tilegramValue":1},"arcs":[[141]]},{"type":"Polygon","id":"06","properties":{"state":"CA","tilegramValue":1},"arcs":[[-136,-85,-119,142]]},{"type":"Polygon","id":"08","properties":{"state":"CO","tilegramValue":1},"arcs":[[-135,-99,-84,-127,-141,-87]]},{"type":"Polygon","id":"04","properties":{"state":"AZ","tilegramValue":1},"arcs":[[-118,-97,-134,143]]},{"type":"Polygon","id":"05","properties":{"state":"AR","tilegramValue":1},"arcs":[[-52,-75,-131,-45,-76,-41]]},{"type":"Polygon","id":"01","properties":{"state":"AL","tilegramValue":1},"arcs":[[144,-10,-15,-104,-129,-73]]},{"type":"Polygon","id":"09","properties":{"state":"CT","tilegramValue":1},"arcs":[[-3,145,-123,-61,-94]]}]}},"arcs":[[[8399999999,4000000000],[400000000,-400000000]],[[8799999999,3600000000],[400000000,400000000],[0,800000000]],[[9199999999,4800000000],[-400000000,399999999]],[[8799999999,5199999999],[-400000000,-399999999]],[[8399999999,4800000000],[0,-800000000]],[[7999999999,2800000000],[400000000,-400000000],[400000000,400000000],[0,800000000]],[[8399999999,4000000000],[-400000000,-400000000]],[[7999999999,3600000000],[0,-800000000]],[[7199999999,1200000000],[-400000000,400000000]],[[6799999999,1600000000],[-400000000,-400000000]],[[6399999999,1200000000],[0,-800000000],[400000000,-400000000],[400000000,400000000],[0,800000000]],[[7199999999,1200000000],[400000000,400000000],[0,800000000]],[[7599999999,2400000000],[-400000000,400000000]],[[7199999999,2800000000],[-400000000,-400000000]],[[6799999999,2400000000],[0,-800000000]],[[0,400000000],[400000000,-400000000],[400000000,400000000],[0,800000000],[-400000000,400000000],[-400000000,-400000000],[0,-800000000]],[[1600000000,5199999999],[400000000,-399999999]],[[2000000000,4800000000],[400000000,399999999]],[[2400000000,5199999999],[0,800000000]],[[2400000000,5999999999],[-400000000,400000000]],[[2000000000,6399999999],[-400000000,-400000000]],[[1600000000,5999999999],[0,-800000000]],[[4800000000,5199999999],[399999999,-399999999]],[[5199999999,4800000000],[400000000,399999999]],[[5599999999,5199999999],[0,800000000]],[[5599999999,5999999999],[-400000000,400000000]],[[5199999999,6399999999],[-399999999,-400000000]],[[4800000000,5999999999],[0,-800000000]],[[5599999999,5199999999],[400000000,-399999999]],[[5999999999,4800000000],[400000000,399999999]],[[6399999999,5199999999],[0,800000000]],[[6399999999,5999999999],[-400000000,400000000]],[[5999999999,6399999999],[-400000000,-400000000]],[[4000000000,5199999999],[400000000,-399999999]],[[4400000000,4800000000],[400000000,399999999]],[[4800000000,5999999999],[-400000000,400000000]],[[4400000000,6399999999],[-400000000,-400000000]],[[4000000000,5999999999],[0,-800000000]],[[4000000000,2800000000],[400000000,-400000000]],[[4400000000,2400000000],[400000000,400000000]],[[4800000000,2800000000],[0,800000000]],[[4800000000,3600000000],[-400000000,400000000]],[[4400000000,4000000000],[-400000000,-400000000]],[[4000000000,3600000000],[0,-800000000]],[[5199999999,4000000000],[400000000,-400000000]],[[5599999999,3600000000],[400000000,400000000]],[[5999999999,4000000000],[0,800000000]],[[5199999999,4800000000],[0,-800000000]],[[4400000000,1600000000],[400000000,-400000000]],[[4800000000,1200000000],[399999999,400000000]],[[5199999999,1600000000],[0,800000000]],[[5199999999,2400000000],[-399999999,400000000]],[[4400000000,2400000000],[0,-800000000]],[[9199999999,8799999999],[400000000,-400000000]],[[9599999999,8399999999],[400000000,400000000],[0,800000000],[-400000000,400000000],[-400000000,-400000000],[0,-800000000]],[[7599999999,4000000000],[400000000,-400000000]],[[8399999999,4800000000],[-400000000,399999999]],[[7999999999,5199999999],[-400000000,-399999999]],[[7599999999,4800000000],[0,-800000000]],[[8399999999,6399999999],[400000000,-400000000]],[[8799999999,5999999999],[400000000,400000000]],[[9199999999,6399999999],[0,800000000]],[[9199999999,7199999999],[-400000000,400000000]],[[8799999999,7599999999],[-400000000,-400000000]],[[8399999999,7199999999],[0,-800000000]],[[6399999999,5999999999],[400000000,400000000]],[[6799999999,6399999999],[0,800000000],[-400000000,400000000],[-400000000,-400000000],[0,-800000000]],[[3600000000,6399999999],[400000000,-400000000]],[[4400000000,6399999999],[0,800000000]],[[4400000000,7199999999],[-400000000,400000000],[-400000000,-400000000]],[[3600000000,7199999999],[0,-800000000]],[[5199999999,1600000000],[400000000,-400000000],[400000000,400000000]],[[5999999999,1600000000],[0,800000000]],[[5999999999,2400000000],[-400000000,400000000]],[[5599999999,2800000000],[-400000000,-400000000]],[[4800000000,3600000000],[399999999,400000000]],[[4400000000,4800000000],[0,-800000000]],[[2400000000,5999999999],[400000000,400000000]],[[2800000000,6399999999],[0,800000000]],[[2800000000,7199999999],[-400000000,400000000],[-400000000,-400000000]],[[2000000000,7199999999],[0,-800000000]],[[3600000000,4000000000],[400000000,-400000000]],[[4000000000,5199999999],[-400000000,-399999999]],[[3600000000,4800000000],[0,-800000000]],[[2000000000,4000000000],[400000000,-400000000]],[[2400000000,3600000000],[400000000,400000000]],[[2800000000,4000000000],[0,800000000]],[[2800000000,4800000000],[-400000000,399999999]],[[2000000000,4800000000],[0,-800000000]],[[9199999999,7199999999],[400000000,400000000]],[[9599999999,7599999999],[0,800000000]],[[9199999999,8799999999],[-400000000,-400000000]],[[8799999999,8399999999],[0,-800000000]],[[8799999999,5199999999],[0,800000000]],[[8399999999,6399999999],[-400000000,-400000000]],[[7999999999,5999999999],[0,-800000000]],[[3200000000,2800000000],[400000000,-400000000]],[[3600000000,2400000000],[400000000,400000000]],[[3600000000,4000000000],[-400000000,-400000000]],[[3200000000,3600000000],[0,-800000000]],[[7599999999,6399999999],[400000000,-400000000]],[[8399999999,7199999999],[-400000000,400000000]],[[7999999999,7599999999],[-400000000,-400000000],[0,-800000000]],[[6399999999,2800000000],[400000000,-400000000]],[[7199999999,2800000000],[0,800000000]],[[7199999999,3600000000],[-400000000,400000000]],[[6799999999,4000000000],[-400000000,-400000000]],[[6399999999,3600000000],[0,-800000000]],[[2800000000,6399999999],[400000000,-400000000]],[[3200000000,5999999999],[400000000,400000000]],[[3600000000,7199999999],[-400000000,400000000],[-400000000,-400000000]],[[6399999999,5199999999],[400000000,-399999999]],[[6799999999,4800000000],[400000000,399999999]],[[7199999999,5199999999],[0,800000000]],[[7199999999,5999999999],[-400000000,400000000]],[[3600000000,1600000000],[400000000,-400000000]],[[4000000000,1200000000],[400000000,400000000]],[[3600000000,2400000000],[0,-800000000]],[[1600000000,3600000000],[400000000,400000000]],[[1600000000,5199999999],[-400000000,-399999999],[0,-800000000],[400000000,-400000000]],[[7199999999,5199999999],[400000000,-399999999]],[[7599999999,6399999999],[-400000000,-400000000]],[[9199999999,6399999999],[400000000,-400000000]],[[9599999999,5999999999],[400000000,400000000],[0,800000000],[-400000000,400000000]],[[7599999999,2400000000],[400000000,400000000]],[[7599999999,4000000000],[-400000000,-400000000]],[[3200000000,5199999999],[400000000,-399999999]],[[3200000000,5999999999],[0,-800000000]],[[5999999999,2400000000],[400000000,400000000]],[[6399999999,3600000000],[-400000000,400000000]],[[5599999999,3600000000],[0,-800000000]],[[4000000000,1200000000],[0,-800000000],[400000000,-400000000],[400000000,400000000],[0,800000000]],[[2400000000,2800000000],[400000000,-400000000]],[[2800000000,2400000000],[400000000,400000000]],[[3200000000,3600000000],[-400000000,400000000]],[[2400000000,3600000000],[0,-800000000]],[[8799999999,8399999999],[-400000000,400000000],[-400000000,-400000000],[0,-800000000]],[[6799999999,4800000000],[0,-800000000]],[[2000000000,7199999999],[-400000000,400000000],[-400000000,-400000000],[0,-800000000],[400000000,-400000000]],[[5199999999,6399999999],[0,800000000],[-399999999,400000000],[-400000000,-400000000]],[[2800000000,4800000000],[400000000,399999999]],[[400000000,8799999999],[400000000,-400000000],[400000000,400000000],[0,800000000],[-400000000,400000000],[-400000000,-400000000],[0,-800000000]],[[1600000000,3600000000],[0,-800000000],[400000000,-400000000],[400000000,400000000]],[[2800000000,2400000000],[0,-800000000],[400000000,-400000000],[400000000,400000000]],[[5999999999,1600000000],[400000000,-400000000]],[[9199999999,4800000000],[400000000,399999999],[0,800000000]]],"transform":{"scale":[8.981004188292276e-8,5.185185185703703e-8],"translate":[359.2401674957671,20.74074074074074]},"bbox":[359.2401674957671,20.74074074074074,1257.3405862351847,539.2592592592592],"properties":{"tilegramMetricPerTile":1,"tilegramVersion":"1.1.1","tilegramTileSize":{"width":71.84803349915342,"height":82.96296296296296}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment