Knowledge Base/EZ Empire Builder

How To Use Google Map Token Provided by YellaBot?

Gerry
posted this on April 07, 2011 11:59

The new version of YellaBot includes a special GoogleMap field. When you import your YellaBot database, a new token will be created

[[GoogleMap]]

This token can be placed into some basic Google map embed code.

-----

<iframe width="625" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&am..."></iframe>

-----

Keep in mind you can control the zoom with the z attribute (eg., z=12). The higher the number, the higher the zoom.

Of course, you can also adjust the height and width of the map frame.

We'll call that METHOD 1.

If you don't like that method, you can use METHOD 2.

This method involves a 3rd party Wordpress plugin.

NOTE: This plugin will NOT require you to use the GoogleMap token.

http://web-argument.com/google-map-shortcode/

The code would look something like this:

[google-map-sc address="[[Street / Unit / Blk]], [[City / Suburb]] [[State]] [[Postal Code]], US" zoom="12" width="625" height="350"]

Place the above code anywhere in your template where you want your Google Map to show up and feel free to adjust the dimensions and to experiment.

Cheers
Gerry