Skip to content

Commit

Permalink
Use specific maplibre version in html template
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Sep 2, 2024
1 parent 08ea1c9 commit d7b5226
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maplibre/_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
<meta charset="UTF-8">
<title>{{ title|default('My MapLibre Map')}}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<!--
<script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
<link rel="stylesheet" href="https://unpkg.com/maplibre-gl/dist/maplibre-gl.css"/>
-->
<script src="https://unpkg.com/[email protected]/dist/maplibre-gl.js"></script>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/maplibre-gl.css"/>
{% for header in headers|default([]) -%}
{{ header }}
{% endfor -%}
Expand Down

0 comments on commit d7b5226

Please sign in to comment.