Skip to content

Instantly share code, notes, and snippets.

@bozdoz
Last active October 17, 2020 02:47
Show Gist options
  • Save bozdoz/675411779e2bd46fc9b53e27c680cd81 to your computer and use it in GitHub Desktop.
Save bozdoz/675411779e2bd46fc9b53e27c680cd81 to your computer and use it in GitHub Desktop.
Test Nested Properties
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"stroke": "#e5de40",
"stroke-width": 2,
"stroke-opacity": 1,
"fill": "#00ab44",
"fill-opacity": 0.5,
"NAME": "HALIFAX",
"Details": {
"Population": 405000,
"Center": [
-63.599166870117195,
44.65180298922767
],
"Best": {
"Food": [
"Bar Kismet",
"Truly Tasty"
]
}
}
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-63.56346130371094,
44.61857728775424
],
[
-63.56655120849609,
44.64618527335061
],
[
-63.58200073242187,
44.659129627031355
],
[
-63.59848022460937,
44.6706061651103
],
[
-63.60637664794921,
44.67573324561522
],
[
-63.62388610839844,
44.674756693822985
],
[
-63.6328125,
44.66376935218782
],
[
-63.622856140136726,
44.64276552773022
],
[
-63.61289978027343,
44.63983415674708
],
[
-63.5995101928711,
44.63397097045478
],
[
-63.59024047851562,
44.62908452932449
],
[
-63.58200073242187,
44.625908121970454
],
[
-63.57547760009766,
44.62322025690537
],
[
-63.571014404296875,
44.62004352865126
],
[
-63.56826782226563,
44.61784415342067
],
[
-63.563804626464844,
44.61857728775424
],
[
-63.56346130371094,
44.61857728775424
]
]
]
}
},
{
"type": "Feature",
"properties": {
"stroke": "#de40e5",
"stroke-width": 2,
"stroke-opacity": 1,
"fill": "#4400ab",
"fill-opacity": 0.5,
"NAME": "DARTMOUTH",
"Details": {
"Population": "Unknown",
"Center": [
-63.599166870117195,
44.65180298922767
],
"Best": {}
}
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-63.616676330566406,
44.693796485374186
],
[
-63.61324310302734,
44.679639288216336
],
[
-63.60534667968749,
44.679639288216336
],
[
-63.59848022460937,
44.6830568594968
],
[
-63.59848022460937,
44.67719804244711
],
[
-63.59264373779297,
44.675000833313874
],
[
-63.585777282714844,
44.668897037477755
],
[
-63.58303070068359,
44.66621116365773
],
[
-63.56620788574218,
44.664990270779555
],
[
-63.56243133544922,
44.66059484350969
],
[
-63.56243133544922,
44.66645533914771
],
[
-63.559341430664055,
44.66645533914771
],
[
-63.55899810791015,
44.66157163392442
],
[
-63.55316162109375,
44.65180298922767
],
[
-63.54835510253906,
44.647650816904346
],
[
-63.53771209716797,
44.653268390843245
],
[
-63.525352478027344,
44.65400107776577
],
[
-63.521575927734375,
44.667920370488275
],
[
-63.538055419921875,
44.680371641890375
],
[
-63.55522155761719,
44.68745058349175
],
[
-63.565864562988274,
44.69648108070581
],
[
-63.58371734619141,
44.696237031727534
],
[
-63.606033325195305,
44.692576173626684
],
[
-63.61221313476562,
44.69501677140782
],
[
-63.616676330566406,
44.693796485374186
]
]
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment