$49

Smart Map

Documentation  •  Changelog

Documentation

Override Google API keys

There may be instances where you need to overwrite the Google API keys from a Twig template.

{# Override server key #}
{% do craft.smartMap.setServerKey('lorem') %}

{# Override browser key #}
{% do craft.smartMap.setBrowserKey('ipsum') %}