Try our conversational search powered by Generative AI!

Google Maps API Reference


Hi all,

what is the best way to put the "'google maps api reference" reference?

Currently I'm using this in individual "Cshml" files where I need.

Please let me know if there is any other way to make it unique.

Thank you !!

Feb 26, 2020 8:50

You need to describe more what you want to do.

Show us an example in code how you have done it now

Feb 26, 2020 11:14

Where I can place below reference ?

<script src="" async defer></script>

Currently I placed this in View directly.

Is there any way to include in web.config and access from the same?

Edited, Feb 26, 2020 11:17

In the view for the page you need it seems like a good ideá or in the layout if you are using it in many places.

Also put your key in web.config so you not hard code it in the view

Feb 26, 2020 11:20
P - Feb 26, 2020 11:25
Thank you Henrik
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.