πŸ”§ Automatically format an entire address

How to update from Smart Map to Google Maps

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

# Quickly render on a single line

Flattening an Address into a single-line string is just as easy as it used to be...

{# BOTH OLD & NEW - EXACT SAME SYNTAX! #}
{{ address }}

The internal formula has changed, however, so it may render a slightly different output now. Take a closer look at the new formula if you're curious.

# Multiple lines

It's now a bit more intuitive to render an Address across multiple lines...

# One line

{# OLD #}
{{ address.format(true, true) }}

{# NEW #}
{{ address.multiline(1) }}

# Two lines

{# OLD #}
{{ address.format(true) }}

{# NEW #}
{{ address.multiline(2) }}

# Three lines

{# OLD #}
{{ address.format() }}

{# NEW #}
{{ address.multiline(3) }}

# NEW: formatted property

New in the Google Maps plugin, we are now keeping track of the fully formatted address retrieved during the original API lookup. This value is unfortunately not included in existing Smart Map data.

{# NEW #}
{{ address.formatted }}

New Documentation

See the complete new Multiline vs. Formatted documentation.