πŸ”§ Override Google API keys

How to update from Smart Map to Google Maps

Follow the instructions below to learn how to update to the new Google Maps plugin...

The syntax for overriding API keys has barely changed...

{# OLD #}
{% do craft.smartMap.setBrowserKey('lorem') %}
{% do craft.smartMap.setServerKey('ipsum') %}

{# NEW #}
{% do googleMaps.setBrowserKey('lorem') %}
{% do googleMaps.setServerKey('ipsum') %}

Effectively, you only need to replace craft.smartMap with googleMaps.

New Documentation

See the complete new internal API documentation.