diff --git a/pages/_data/maps.yml b/pages/_data/maps.yml index 07aee1822..e8fdc0c3a 100644 --- a/pages/_data/maps.yml +++ b/pages/_data/maps.yml @@ -7,9 +7,30 @@ light: zoom: 11 style: light-v10 -card: +markers: title: Light map style center: [0, 0] zoom: 1 + style: light-v10 + card: true + markers: + - name: Buenos Aires + center: [-34.58333333, -58.666667] + - name: Vienna + center: [48.2, 16.366667] + - name: Beijing + center: [39.91666667, 116.383333] + - name: Canberra + center: [-35.26666667, 149.133333] + - name: Muscat + center: [23.61666667, 58.583333] + - name: Washington + center: [38.883333, -77] + +card: + title: Full-card map + center: [0, 0] + zoom: 1 style: satellite-v9 - card: true \ No newline at end of file + card: true + diff --git a/pages/_includes/ui/map.html b/pages/_includes/ui/map.html index 323ee5578..cca1cb26d 100644 --- a/pages/_includes/ui/map.html +++ b/pages/_includes/ui/map.html @@ -4,7 +4,7 @@ {% if data %}
-
+
@@ -12,6 +12,8 @@ {% capture_global scripts %} diff --git a/pages/maps.html b/pages/maps.html index a40dcec60..19f113257 100644 --- a/pages/maps.html +++ b/pages/maps.html @@ -10,7 +10,7 @@ menu: base.maps {% if map[1].card %}
- {% include ui/map.html map-id=map-id ratio="16by9" %} + {% include ui/map.html map-id=map-id ratio="2by1" %}
{% else %}