You can look at the Contacts starter solution, for an example how to use the map. The starter solution use a custom function which you can view from with in the solution by clicking : File, Manage, Custom Functions. It's best to use the map in the same way as the starter solution with the custom function. (Less problems)
There is also an invoice starter solution with email button at top of invoice.
To get started with a starter solution just click: File, New From Starter Solution,
Here's a URL expression that I use. I adapted it from a post made here in the forum by Raybaudi:
<body bgcolor='#FFFFFF' TopMargin='0' style='border:0'>
<iframe width='" & GetLayoutObjectAttribute ( "MapViewer" ; "width" ) - 40 &
"' height='" & GetLayoutObjectAttribute ( "MapViewer" ; "height" ) - 30 &
"' frameborder='0' scrolling='no' marginheight='0' marginwidth='0'
src='http://local.google.com/maps?q=" & CustInfo::Street & "," & CustInfo::City & "," & CustInfo::State & "," & CustInfo::Zipplus4 & "&output=embed&iwloc=0&z=14'>
"MapViewer" is the object name of my layout's web viewer.
Shown in blue are the references to specific fields in my layout's table that contain the address info being mapped.
Some of the other tags in here set the zoom (z = 14) and embed the map so that the extra junk on the web page is excluded.