Skip to content

Latest commit

 

History

History
119 lines (112 loc) · 3.62 KB

scanstations.markdown

File metadata and controls

119 lines (112 loc) · 3.62 KB
title lead layout stations map_js
Scan Stations
Laws.Africa's world-wide information digitisation network.
simple
name location coords
Scan Station Accra
Accra, Ghana
5.6037, -0.1870
name location launch_date coords
Scan Station Berlin
Berlin, Germany
2023
52.5065133, 13.1445545
name location launch_date coords
Scan Station Cape Town
Cape Town, South Africa
2019
-33.9576164, 18.4629253
name location launch_date coords
Scan Station Dar es Salaam
Dar es Salaam, Tanzania
-6.7924, 39.2083
name location launch_date coords
Scan Station Johannesburg
Johannesburg, South Africa
-26.2041, 28.0473
name location launch_date coords
Scan Station Kampala
Kampala, Uganda
0.3476, 32.5825
name location launch_date coords
Scan Station Lagos
Lagos, Nigeria
6.5244, 3.3792
name location launch_date coords
Scan Station Lilongwe
Lilongwe, Malawi
-13.9626, 33.7741
name location launch_date coords
Scan Station Lusaka
Lusaka, Zambia
-15.3875, 28.3228
name location launch_date coords
Scan Station Mauritius
Mauritius
-20.3484, 57.5522
name location launch_date coords
Scan Station Montréal
Montréal, Canada
45.5017, -73.5673
name location launch_date coords
Scan Station Victoria
Victoria, Seychelles
-4.6191, 55.4513
<script defer src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM=" crossorigin=""></script>
<script defer> var map = L.map('map').setView([15.0, 20.0], 2); L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' }).addTo(map); const stations = Array.from(document.getElementsByClassName('station')) function scrollToElement (element) { stations.forEach(station => { station.classList.remove('bg-lawsafrica-pale-red') }) element.classList.add('bg-lawsafrica-pale-red'); const rect = element.getBoundingClientRect(); const targetPosition = Math.floor(rect.top - element.offsetTop - element.offsetHeight); window.scrollTo({ top: targetPosition, behavior: 'smooth' }); } stations.forEach(station => { var marker = L.marker(station.dataset.coords.split(',')).addTo(map) station.classList.remove('bg-lawsafrica-pale-red') marker.on('click', function () { scrollToElement(station) }); }) </script>

{{ page.title }}

Our Scan Stations are a world-wide network of digitisation centers. Our expert staff and partners collect, scan and digitise African legal information including judgments, legislation, gazettes and law reports.

  <div class="row justify-content-center pt-5">
    {% for station in page.stations %}
      <div class="col-sm-6">
        <div class="card mb-3 station" data-coords="{{ station.coords }}">
          <div class="card-body">
            <h5 class="card-title">{{ station.name }}</h5>
            <div class="card-text"><b>Location:</b> {{ station.location }}</div>
            <div class="card-text"><b>Launch date:</b> {{ station.launch_date }}</div>
          </div>
        </div>
      </div>
    {% endfor %}
  </div>
</div>