Skip to content

Instantly share code, notes, and snippets.

@lrgalego
Last active August 6, 2018 18:30
Show Gist options
  • Save lrgalego/61fb076ea93d3aaed708a50e2bb51d44 to your computer and use it in GitHub Desktop.
Save lrgalego/61fb076ea93d3aaed708a50e2bb51d44 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -70, 41.5 ], [ -78, 41.5 ], [ -78, 40.3 ], [ -70, 40.3 ], [ -70, 41.5 ] ]
]
},
"properties": { "fill": "red", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -115, 35 ], [ -121, 35 ], [ -121, 31 ], [ -115, 31 ], [ -115, 35 ] ]
]
},
"properties": { "fill": "chocolate", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -85, 49 ], [ -92, 49 ], [ -92, 38 ], [ -85, 38 ], [ -85, 49 ] ]
]
},
"properties": { "fill": "lawngreen", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -73, 40.3 ], [ -78, 40.3 ], [ -78, 37 ], [ -73, 37 ], [ -73, 40.3 ] ] ]
},
"properties": { "fill": "black", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -78, 49 ], [ -85, 49 ], [ -85, 37 ], [ -78, 37 ], [ -78, 49 ] ]
]
},
"properties": { "fill": "green", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -115, 40 ], [ -124, 40 ], [ -124, 35 ], [ -115, 35 ], [ -115, 40 ] ]
]
},
"properties": { "fill": "orange", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -115, 49 ], [ -125, 49 ], [ -125, 40 ], [ -115, 40 ], [ -115, 49 ] ]
]
},
"properties": { "fill": "darkgray", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -106, 49 ], [ -115, 49 ], [ -115, 31 ], [ -106, 31 ], [ -106, 49 ] ]
]
},
"properties": { "fill": "skyblue", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -92, 36 ], [ -106, 36 ], [ -106, 24 ], [ -92, 24 ], [ -92, 36 ] ]
]
},
"properties": { "fill": "violet", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -92, 49 ], [ -106, 49 ], [ -106, 36 ], [ -92, 36 ], [ -92, 49 ] ]
]
},
"properties": { "fill": "white", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -85, 38 ], [ -92, 38 ], [ -92, 28 ], [ -85, 28 ], [ -85, 38 ] ]
]
},
"properties": { "fill": "fuchsia", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -79, 31 ], [ -85, 31 ], [ -85, 24 ], [ -79, 24 ], [ -79, 31 ] ]
]
},
"properties": { "fill": "gray", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -75, 37 ], [ -85, 37 ], [ -85, 31 ], [ -75, 31 ], [ -75, 37 ] ]
]
},
"properties": { "fill": "blue", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -59, 49 ], [ -78, 49 ], [ -78, 41.5 ], [ -59, 41.5 ], [ -59, 49 ] ]
]
},
"properties": { "fill": "yellow", "fill-opacity": 0.8 }
},
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [ -52, 75 ], [ -170, 75 ], [ -170, 49 ], [ -52, 49 ], [ -52, 75 ] ]
]
},
"properties": { "fill": "pink", "fill-opacity": 0.8 }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment