Skip to content

Commit bd69f7f

Browse files
authored
Merge pull request #66 from dekart-xyz/map-templates
Map templates
2 parents a62f86b + 2c448d5 commit bd69f7f

File tree

4 files changed

+40
-1
lines changed

4 files changed

+40
-1
lines changed

assets/scss/layouts/_pages.scss

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ h4:hover a {
4646
text-align: center;
4747
font-size: 0.8em;
4848
}
49+
.view-on-map-template {
50+
margin-top: -2rem;
51+
text-align: center;
52+
font-size: 0.8em;
53+
}
4954

5055
.view-on-map-cloud {
5156
margin-top: -1.5rem;
Loading
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: "Reusable Map Templates"
3+
description: "Collection of reusable Dekart Maps for your analytics projects"
4+
lead: ""
5+
date: 2025-01-26T07:26:19+02:00
6+
lastmod: 2025-01-26T07:26:19+02:00
7+
draft: false
8+
images: ["62130325-9fc7-4687-ac05-52f6b7513502.png"]
9+
menu:
10+
docs:
11+
parent: "examples"
12+
name: "Map Templates"
13+
weight: 999
14+
toc: true
15+
---
16+
17+
## What is a Map Template?
18+
19+
A Map Template is a reusable Dekart Map that you can use as a starting point for your analytics projects. Each Map Template is designed to help you quickly visualize your data and answer common business questions. Map Templates utilize Dekart's query parameters to make it easy to customize the map to your specific needs.
20+
21+
### OSM vs Overture Maps – Compare Bike Lane Coverage
22+
23+
{{< img src="62130325-9fc7-4687-ac05-52f6b7513502.png" template="62130325-9fc7-4687-ac05-52f6b7513502" >}}
24+
25+
This template lets you visualize and compare bike lane coverage in any city by pulling data from both OpenStreetMap (OSM) and Overture Maps. Simply choose a city (and country code) to see which streets have dedicated cycle paths—and whether certain lane tags (like cycleway:left) appear in one dataset but not the other. It’s ideal for data analysts, urban planners, or anyone curious about how well bike lanes are mapped in their area.
26+
27+
Requires: <small class="badge badge-info">BigQuery Account</small>
28+

layouts/shortcodes/img.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,16 @@
3333
<p class="view-on-map"><a href="https://play.dekart.xyz/reports/{{ . }}" target="_blank">view on a map</a></p>
3434
{{ end }}
3535
{{ with .Get "cloud" }}
36-
<!-- <p class="view-on-map"><a href="https://cloud.dekart.xyz/reports/{{ . }}" target="_blank">View on Dekart</a></p> -->
3736
<p class="view-on-map">
3837
<a href="https://cloud.dekart.xyz/reports/{{ . }}/source?ref=dekart-xyz-view-map" target="_blank" class="btn btn-outline-primary btn-sm">
3938
View interactive map
4039
</a>
4140
</p>
4241
{{ end }}
42+
{{ with .Get "template" }}
43+
<p class="view-on-map-template">
44+
<a href="https://cloud.dekart.xyz/reports/{{ . }}/source?ref=dekart-xyz-view-template" target="_blank" class="btn btn-outline-primary btn-sm">
45+
→ Use This Template
46+
</a>
47+
</p>
48+
{{ end }}

0 commit comments

Comments
 (0)