Calling a google map link in a template

fletch11 - November 5, 2009 - 12:43
Project:Location
Version:6.x-3.1-rc1
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I've been using the following to generate a link to google maps from within a node template:

<a href="<?php $linktext = location_map_link_us_google($locations[0]);
print
$linktext
?>
">Google Map</a>

However, this only works with US locations. I cannot figure out how to generate a link to non-us locations without including separate calls for each country. Can anyone help me out?

Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.