There are folks on the board better qualified (more experienced) to guide you than I, but the basics involve using the Web Viewer object. You insert your code as a calculation in the Web Viewer dialog in Layout mode, applying variables, field values, and / or constants as needed. The map then renders inside the Web Viewer in Browse mode.
There were a couple of sessions at DevCon on Google Maps integration. Perhaps the presenters lurk here and can chime in.