JSFiddle - React, Tailwind, and code Playground

by will cadell

HTML

<script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
<div id="map-canvas" onload="initialize()" style="width: 100%; height: 100%"></div>

CSS

html, body, #map-canvas {
    height: 100%;
    margin: 0px;
    padding: 0px
}

JavaScript

var GBR = {
    type: "FeatureCollection",
    features: [{
        type: "Feature",
        id: "GBR",
        properties: {
            name: "United Kingdom"
        },
        geometry: {
            type: "MultiPolygon",
            coordinates: [
                [
                    [
                        [-5.661949,
                        54.554603],
                        [-6.197885,
                        53.867565],
                        [-6.95373,
                        54.073702],
                        [-7.572168,
                        54.059956],
                        [-7.366031,
                        54.595841],
                        [-7.572168,
                        55.131622],
                        [-6.733847,
                        55.17286],
                        [-5.661949,
                        54.554603]
                    ]
                ],
                [
                    [
                        [-3.005005,
                        58.635],
                        [-4.073828,
                        57.553025],
                        [-3.055002,
                        57.690019],
                        [-1.959281,
                        57.6848],
                        [-2.219988,
                        56.870017],
                        [-3.119003,
                        55.973793],
                        [-2.085009,
                        55.909998],
                        [-2.005676,
                        55.804903],
                        [-1.114991,
                        54.624986],
                        [-0.430485,
                        54.464376],
                        [
                        0.184981,
                        53.325014],
                        [
                        0.469977,
                        52.929999],
                        [
                        1.681531,
                        52.73952],
                        [
                      ...