Add Google Maps to your PURL pages

It's very easy to add Google maps to your PURL pages and have them centered on your visitors address.  Simply add the code below to your index.php file:

Add a map of your visitors address

 <img src="http://maps.googleapis.com/maps/api/staticmap?center=<?php echo $visitor->{'address'}.' '.$visitor->{'city'}.' '.$visitor->{'state'}; ?>&zoom=14&size=400x300&maptype=roadmap&sensor=false" />
	

And that's it!