« All helpers
Embeds a Google map into the current page.
In PHP code, call it like this:
echo $this->run ( 'social/google/maps', array ( 'address' => '123 Broadway', 'city' => 'New York', 'state' => 'NY', 'country' => 'USA', 'zip' => 10203 ) );
In a template, call it like this:
{! social/google/maps? ?address=123 Broadway &city=New York &state=NY &country=USA &zip=10203 !}
Parameters:
address
city
state
country
zip
width
height
Also available in the dynamic objects menu as "Google: Map".
Embeds a Google map into the current page.
In PHP code, call it like this:
In a template, call it like this:
Parameters:
address
- Street addresscity
- Citystate
- State/provincecountry
- Countryzip
- Zip/postal codewidth
= Width of map (default=100%)height
= Height of map (default=400px)Also available in the dynamic objects menu as "Google: Map".