Enable map for home page

This commit is contained in:
James Mead 2017-07-01 20:03:52 +01:00
parent 27128690bb
commit 44d6fe6ecd
7 changed files with 26 additions and 0 deletions

View File

@ -5,6 +5,8 @@ email: info@agile.coop
twitter: AgileCollective twitter: AgileCollective
telephone: 01865 403 120 telephone: 01865 403 120
address: Room 301, The Old Music Hall, 106-108 Cowley Road, Oxford, United Kingdom, OX4 1JE address: Room 301, The Old Music Hall, 106-108 Cowley Road, Oxford, United Kingdom, OX4 1JE
latitude: 51.7483541
longitude: -1.2412285
clients: clients:
- oxfam - oxfam
- oxford-city-council - oxford-city-council

View File

@ -6,6 +6,8 @@ twitter: freerange
github: freerange github: freerange
telephone: N/A telephone: N/A
address: London, United Kingdom address: London, United Kingdom
latitude: 51.528308
longitude: -0.3817794
services: services:
- business-analysis - business-analysis
- consultancy - consultancy

View File

@ -6,6 +6,8 @@ twitter: outlandish
github: outlandishideas github: outlandishideas
telephone: +44 (0) 207 561 9968 telephone: +44 (0) 207 561 9968
address: 3rd Floor, 149 Fonthill Road, Finsbury Park, London, United Kingdom, N4 3HF address: 3rd Floor, 149 Fonthill Road, Finsbury Park, London, United Kingdom, N4 3HF
latitude: 51.5637216
longitude: -0.1099459
services: services:
- business-analysis - business-analysis
--- ---

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

View File

@ -68,6 +68,26 @@ layout: home
</div> </div>
<!-- END Grid View Content --> <!-- END Grid View Content -->
<!-- START Map View Content -->
<div class="tabs-panel" id="map">
<div class="row small-up-2 medium-up-4 large-up-6 small-collapse">
<div id="map-coops"></div>
<script type="text/javascript">
var app = window.app || {};
app.mapEntries = [
{% for coop in site.coops %}
{
lat: {{ coop.latitude }},
lng: {{ coop.longitude }},
markerText: '<b><a href=\"{{ coop.url | relative_url }}\">{{ coop.name }}</a></b><br><br>{{ coop.address | split: "," | join: "<br>" }}'
},
{% endfor %}
];
</script>
</div>
</div>
<!-- END Map View Content -->
</div> </div>
</div> </div>
</div> </div>