summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lsces@lsces.co.uk>2011-02-03 13:49:50 +0000
committerLester Caine <lsces@lsces.co.uk>2011-02-03 13:49:50 +0000
commit8523b9662e0b6d869442ff9ecbe747fab45bb1b2 (patch)
tree5e9aadac07642eeefa0fca3ed37edc007bd89761
parenta53ed0c794e0d687c111c9ceaab635f9f5b6584f (diff)
downloadcontact-8523b9662e0b6d869442ff9ecbe747fab45bb1b2.tar.gz
contact-8523b9662e0b6d869442ff9ecbe747fab45bb1b2.tar.bz2
contact-8523b9662e0b6d869442ff9ecbe747fab45bb1b2.zip
ORS link for route planning
-rw-r--r--templates/display_address.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/display_address.tpl b/templates/display_address.tpl
index e65fd86..16bf1b4 100644
--- a/templates/display_address.tpl
+++ b/templates/display_address.tpl
@@ -36,6 +36,9 @@
</a>&gt;&nbsp;&lt;<a href="http://www.google.co.uk/maps?f=q&source=s_q&hl=en&q={$pageInfo.postcode}&ll={$pageInfo.x_coordinate},{$pageInfo.y_coordinate}&z=16" title="{$pageInfo.title}">
Google
</a>&gt;<br />
+ Navigate to &lt;<a href="http://openrouteservice.org/index.php?start=-1.822164,52.073197&end={$pageInfo.y_coordinate},{$pageInfo.x_coordinate}&pref=Fastest&lang=en&unit=MI" title="{$propertyInfo.title}">
+ OpenRouteService
+ </a>&gt;
{$pageInfo.rpa|escape}
{/forminput}
</div>