diff --git a/www/templates/staticgooglemapsv2/UNL/TourMap/GoogleMap.tpl.php b/www/templates/staticgooglemapsv2/UNL/TourMap/GoogleMap.tpl.php
index 52832d4fda26121445899646e50da1ad889911d7..f048bf34f674def668181e4c485aeecf245219a3 100644
--- a/www/templates/staticgooglemapsv2/UNL/TourMap/GoogleMap.tpl.php
+++ b/www/templates/staticgooglemapsv2/UNL/TourMap/GoogleMap.tpl.php
@@ -10,4 +10,4 @@ $url = UNL_TourMap::addURLParams('http://maps.google.com/maps/api/staticmap', $m
 $url .= '&' . $context->getRawObject()->getEncodedStyles(true);
 
 ?>
-<a href="<?php echo $controller->getURL(); ?>" title="Go to the full featured UNL campus maps"><img alt="UNL Campus Map" src="<?php echo htmlentities($url, ENT_QUOTES); ?>" /></a>
+<a href="<?php echo $controller->getURL() . (isset($context->options['code']) ? $context->options['code'] : ''); ?>" title="Go to the full featured UNL campus maps"><img alt="UNL Campus Map" src="<?php echo htmlentities($url, ENT_QUOTES); ?>" /></a>