summaryrefslogtreecommitdiff
path: root/ab_openstreetmap/views/templates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ab_openstreetmap/views/templates.xml')
-rw-r--r--ab_openstreetmap/views/templates.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/ab_openstreetmap/views/templates.xml b/ab_openstreetmap/views/templates.xml
index 57357bda..bb5cb581 100644
--- a/ab_openstreetmap/views/templates.xml
+++ b/ab_openstreetmap/views/templates.xml
@@ -2,10 +2,10 @@
<data>
<template id="assets_backend" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
- <!-- Tambahkan Google Maps API Key -->
- <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB7bG9aSNAJnSrj0Z7f1abFsqKVoiJfsPE&amp;libraries=places" async="true" defer="true"/>
-
- <!-- Tambahkan JS Widget -->
+ <!-- GANTI dengan versi beta agar mendukung importLibrary (WAJIB untuk AdvancedMarkerElement) -->
+ <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB7bG9aSNAJnSrj0Z7f1abFsqKVoiJfsPE&amp;v=beta&amp;libraries=marker,maps" async="true" defer="true"/>
+
+ <!-- Tambahkan Google Maps Widget JS -->
<script type="text/javascript" src="/ab_openstreetmap/static/src/js/googlemap_widget.js"/>
</xpath>
</template>