Home arrow Documentation arrow Customization arrow Map Link
Home
FAQ
Documentation
Forums
License Key
Map Link Print
You may customize your own map link by creating a file in Thyme's customize folder called map_link.php. This should contain a PHP function called map_link() which takes 2 arguments. The first being the street information from the address, the second being the city/state/zip code information. You may use the existing function as a template:

<?php

function map_link($addr_st, $addr_ci)
{

   return
'http://maps.google.com/maps?oi=map&q='.urlencode($addr_st." ".$addr_ci);
}

?>


You may also contact us to request a map link file for a particular site that you wish to use for maps. Below is a list of existing fulfilled requests.


To use, unzip the downloaded file, then place the resulting file (map_link.php) in Thyme's customize folder.