Hello maf community,
I want to add a google map inside outputHtml in my amx page.
I know that I do not have permission to add <script> tag inside outputHtml component, so I included a javascript file in my maf-feature.xml.
inside that javascript I only can call functions. I can not add <script> tag.
As you know map_key of google map is placed inside a <script> tag. how can I add a line like:
<script src="https://maps.googleapis.com/maps/api/js?key=map_key;callback=initMap"
async defer></script>
inside my javascript file ?
Sincerely.