diff options
Diffstat (limited to 'ab_openstreetmap/views/templates.xml')
| -rw-r--r-- | ab_openstreetmap/views/templates.xml | 8 |
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&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&v=beta&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> |
