fix: our own maptiler api key

This commit is contained in:
Matthieu Bessat 2023-10-23 01:23:07 +02:00
parent 05b74db2e5
commit 3354408ddd
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
var map = new maplibregl.Map({ var map = new maplibregl.Map({
container: 'short-code-slippy-map', container: 'short-code-slippy-map',
style: style:
'https://api.maptiler.com/maps/streets/style.json?key=get_your_own_OpIi9ZULNHzrESv6T2vL', 'https://api.maptiler.com/maps/streets/style.json?key=ayRTcnWkBYAiwuQ3aCCc',
center: [{{ .lng}}, {{ .lat }}], center: [{{ .lng}}, {{ .lat }}],
zoom: {{ .zoom }} zoom: {{ .zoom }}
}); });

View file

@ -5,7 +5,7 @@
var map = new maplibregl.Map({ var map = new maplibregl.Map({
container: 'short-code-slippy-map', container: 'short-code-slippy-map',
style: style:
'https://api.maptiler.com/maps/streets/style.json?key=get_your_own_OpIi9ZULNHzrESv6T2vL', 'https://api.maptiler.com/maps/streets/style.json?key=ayRTcnWkBYAiwuQ3aCCc',
center: [{{ .Get "lng" }}, {{ .Get "lat" }}], center: [{{ .Get "lng" }}, {{ .Get "lat" }}],
zoom: {{ .Get "zoom" }} zoom: {{ .Get "zoom" }}
}); });