Map address look up from contacts and companies

The Maporama map system doesn’t work anymore. So you can update eLink to use Google Maps.

You have to change the following code in all your directories for each navigate.js file:

function ShowMap(Country, City, PostCode, Street) {
var maplang = “en”
if (Country == “F”) Country = “FR”; maplang = “fr”;
if (Country == “B”) Country = “BE”; maplang = “be”;
if (Country == “GB”) Country = “UK”; maplang = “en”;
if (Country == “E”) Country = “ES”; maplang = “es”;
if (Country == “D”) Country = “DE”; maplang = “de”;
if (Country == “”) Country = DefaultCountry; maplang = DefaultCountry;
var s=”http://maps.google.com/maps?f=q&source=s_q&hl=”+maplang+”&q=”+URLEncode(Street)+” “+PostCode+”,”+URLEncode(City)+”,”+Country+”&split=0″
var wnd = window.open(s, “_blank”)
wnd.focus()
}

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>