Skip to content

Instantly share code, notes, and snippets.

@javiergarval
Last active July 27, 2016 17:05
Show Gist options
  • Save javiergarval/083473835f6ea37dbecb338c8cc7fd9b to your computer and use it in GitHub Desktop.
Save javiergarval/083473835f6ea37dbecb338c8cc7fd9b to your computer and use it in GitHub Desktop.
Adding some NGO's interesting points to a map using GeoJson.
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Almeria"
},
"geometry": {
"type": "Point",
"coordinates": [
-2.4712104,
36.8369818
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Cadiz"
},
"geometry": {
"type": "Point",
"coordinates": [
-6.2897487,
36.5230843
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Cordoba"
},
"geometry": {
"type": "Point",
"coordinates": [
-4.7629376,
37.8935967
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Granada"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.5893426,
37.1690808
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Huelva"
},
"geometry": {
"type": "Point",
"coordinates": [
-6.9512857,
37.2619147
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Jaen"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.7819898,
37.7827047
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Malaga"
},
"geometry": {
"type": "Point",
"coordinates": [
-4.4227217,
36.7254084
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Sevilla"
},
"geometry": {
"type": "Point",
"coordinates": [
-5.9827085,
37.4006112
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Huesca"
},
"geometry": {
"type": "Point",
"coordinates": [
-0.4132345,
42.1413836
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Teruel"
},
"geometry": {
"type": "Point",
"coordinates": [
-0.4132345,
42.1413836
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Zaragoza"
},
"geometry": {
"type": "Point",
"coordinates": [
-0.8784418,
41.6495286
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Asturias"
},
"geometry": {
"type": "Point",
"coordinates": [
-5.8408599,
43.3652912
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Islas Baleares"
},
"geometry": {
"type": "Point",
"coordinates": [
2.6528326,
39.5845034
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Las Palmas"
},
"geometry": {
"type": "Point",
"coordinates": [
-15.4282565,
28.1233667
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Sta. Cruz de Tenerife"
},
"geometry": {
"type": "Point",
"coordinates": [
-16.2527765,
28.4688903
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Cantabria"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.849443,
43.4585383
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Albacete"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.8474005,
43.4151724
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Ciudad Real"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.9283092,
38.986729
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Cuenca"
},
"geometry": {
"type": "Point",
"coordinates": [
-2.1371776,
40.0745566
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Guadalajara"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.1519912,
40.6310905
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Toledo"
},
"geometry": {
"type": "Point",
"coordinates": [
-4.0200962,
39.8574367
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Avila"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.7141391,
40.4109389
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Leon"
},
"geometry": {
"type": "Point",
"coordinates": [
-5.5702713,
42.5992296
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Palencia"
},
"geometry": {
"type": "Point",
"coordinates": [
-4.5293598,
42.019685
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Burgos"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.6829552,
42.344141
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Salamanca"
},
"geometry": {
"type": "Point",
"coordinates": [
-5.6628918,
40.9788136
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Segovia"
},
"geometry": {
"type": "Point",
"coordinates": [
-4.1254754,
40.946385
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Soria"
},
"geometry": {
"type": "Point",
"coordinates": [
-4.1237156,
40.9471686
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Valladolid"
},
"geometry": {
"type": "Point",
"coordinates": [
-4.7274021,
41.6478289
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Zamora"
},
"geometry": {
"type": "Point",
"coordinates": [
-5.7273711,
41.5128481
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Girona"
},
"geometry": {
"type": "Point",
"coordinates": [
2.8201409,
41.9850959
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Barcelona"
},
"geometry": {
"type": "Point",
"coordinates": [
2.1876361,
41.3961506
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Lleida"
},
"geometry": {
"type": "Point",
"coordinates": [
1.239554,
41.1330615
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Tarragona"
},
"geometry": {
"type": "Point",
"coordinates": [
-5.306861,
35.8899965
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Ceuta"
},
"geometry": {
"type": "Point",
"coordinates": [
-5.306861,
35.8899965
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Badajoz"
},
"geometry": {
"type": "Point",
"coordinates": [
-6.9723521,
38.8725267
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Caceres"
},
"geometry": {
"type": "Point",
"coordinates": [
-6.3703242,
39.4817565
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA A Coruña"
},
"geometry": {
"type": "Point",
"coordinates": [
-8.4024226,
43.3753944
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Lugo"
},
"geometry": {
"type": "Point",
"coordinates": [
-7.5441472,
42.9934647
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Pontevedra"
},
"geometry": {
"type": "Point",
"coordinates": [
-8.6402487,
42.4325739
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Madrid"
},
"geometry": {
"type": "Point",
"coordinates": [
-3.7476106,
40.3696267
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Melilla"
},
"geometry": {
"type": "Point",
"coordinates": [
-2.9464597,
35.2895587
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Navarra"
},
"geometry": {
"type": "Point",
"coordinates": [
-1.6391112,
42.815446
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Castellon"
},
"geometry": {
"type": "Point",
"coordinates": [
-0.0348097,
39.9773493
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Valencia"
},
"geometry": {
"type": "Point",
"coordinates": [
-0.4158679,
39.4616162
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Alicante"
},
"geometry": {
"type": "Point",
"coordinates": [
-0.5096033,
38.3545258
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Alava"
},
"geometry": {
"type": "Point",
"coordinates": [
-2.6897476,
42.840952
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Guipuzcoa"
},
"geometry": {
"type": "Point",
"coordinates": [
-1.9673611,
43.3219019
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#C2232F",
"marker-size": "medium",
"marker-symbol": "r",
"type": "CRUZ ROJA",
"title": "CRUZ ROJA Vizcaya"
},
"geometry": {
"type": "Point",
"coordinates": [
-2.9290044,
43.2602016
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment