πŸ”§ Linking to a separate Google Map page

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 functionality has remained nearly identical. However, the method names have been changed.

{# OLD #}
<a href="{{ address.googleMapUrl() }}">Open in Google Maps</a>

{# NEW #}
<a href="{{ address.linkToMap() }}">Open in Google Maps</a>
{# OLD #}
<a href="{{ address.directionsUrl() }}">Get Directions</a>

{# NEW #}
<a href="{{ address.linkToDirections() }}">Get Directions</a>

We also have two new methods for your convenience...

<a href="{{ address.linkToArea() }}">See area in Google Maps</a>

<a href="{{ address.linkToStreetView() }}">Open in Street View</a>

New Documentation

See the complete new Linking to a Map documentation.