diff --git a/templates/CRM/Contact/Page/Inline/Address.tpl b/templates/CRM/Contact/Page/Inline/Address.tpl
index 453d330884f9..9c248f2b65d4 100644
--- a/templates/CRM/Contact/Page/Inline/Address.tpl
+++ b/templates/CRM/Contact/Page/Inline/Address.tpl
@@ -31,7 +31,8 @@
!empty($add.geo_code_2) AND
is_numeric($add.geo_code_2)
}
-
{ts}Map{/ts}
+ {assign var='mapLocationTypeID' value=$add.location_type_id}
+
{ts}Map{/ts}
{/if}