Streetmap | How to Link To Us

Disclaimer

about us

How to link to us

Search Tips

Business Services

 

How to link to StreetMap Pages


If you display a physical address on the Net and would like to help people to find your location, simply point a URL to our pages.

Linking without adverts

Linking By Post Code

Linking By Grid Reference

Linking Using Outlook



Linking without adverts

In order to link without adverts being displayed you must embed our maps in your own site, details of which can be found here. Please note that this service incurs a cost.


Linking by Post Code


To generate the URL automatically, fill in the following form. Alternatively, for those more technically minded, the detailed specifics follow.

Items marked with a * are required fields

Post Code *

Title for Page

Title for Return Link

URL for Return Link

Strip Extra Information ?

Yes No

URL of image to use as a Background




The HREF format of the URL used to link by post code is as follows :

http://www.streetmap.co.uk/streetmap.dll?postcode2map?<postcode>&<title>&<back title>&<back url>&<no local sites>&<body flags>

Alternatively, parameters can be specified by name :

http://www.streetmap.co.uk/streetmap.dll?postcode2map?code=<postcode>&title=<title>&back=<back title>&url=<back url>&nolocal=<no local sites>&bimage=<body flags>

Where <postcode> is replaced by the post code e.g. sw18+4ey . Note the use of the + symbol to represent the space !

Optionally, <title> can be supplied, this sets the title displayed at the top of the page. Note that any spaces in the title should be replaced by the + symbol.

If <title> is supplied, optionally <back title> and <back url> can be supplied. <back title> is a description of a link back to the original page and <back url> is the URL of the link. Again note that any spaces in the title should be replaced by the + symbol.

If <back title> and <back url> are supplied, optionally <no local sites> can be supplied. <no local sites> is a yes/no flag, if blank or set to anything other than a Y, local sites are displayed.

If <no local sites> is supplied, optionally <body flags> can be supplied. <body flags> inserts the specified text in the <body> tag at the top of the page (useful for specifying your own background image). Note that any = sign in the body flags should be replaced with %3d and that any spaces in the title should be replaced by the + symbol.




The following URL displays the street map for the post code SW18 4EY:

http://www.streetmap.co.uk/streetmap.dll?postcode2map?sw18+4ey

This URL displays the street map for the post code SW18 4EY, with the page title "We Are Here" :

http://www.streetmap.co.uk/streetmap.dll?postcode2map?sw18+4ey&We+Are+Here

This URL displays the street map for the post code SW18 4EY, with the page title "We Are Here", and a link back to us :

http://www.streetmap.co.uk/streetmap.dll?postcode2map?sw18+4ey&We+Are+
Here&Back+To+Us&http://www.streetmap.co.uk/howto.htm


This URL displays the street map for the post code SW18 4EY, with the page title "We Are Here", and a link back to us, without showing the local sites:

http://www.streetmap.co.uk/streetmap.dll?postcode2map?sw18+4ey&
We+Are+Here&Back+To+Us&http://www.streetmap.co.uk/howto.htm&y


This URL displays the street map for the post code SW18 4EY, with the page title "We Are Here", and a link back to us, without showing the local sites, using the image image6.gif as the background:

http://www.streetmap.co.uk/streetmap.dll?postcode2map?sw18+4ey&We+Are+
Here&Back+To+Us&http://www.streetmap.co.uk/howto.htm&y&background%3dimage6.gif

This URL displays the street map for the post code SW18 4EY, with the page title "We Are Here", without a link back to us, without showing the local sites, using the image image6.gif as the background:

Note that by naming the parameters, we can place them in any order and omit them where necessary.

http://www.streetmap.co.uk/streetmap.dll?postcode2map?code=sw18+4ey&title
=We+Are+Here&nolocal=y&bimage=background%3dimage6.gif



Linking by Grid Reference


To generate the URL automatically, fill in the following form. Alternatively, for those more technically minded, the detailed specifics follow.

Items marked with a * are required fields

Grid X *

Grid Y

Title for Page

Title for Return Link

URL for Return Link

Strip extra information ?

Yes No

URL of image to use as a Background




The HREF format of the URL used to link by grid references as follows :

http://www.streetmap.co.uk/streetmap.dll?grid2map?<x>&<y>&<title>&<back title>&<back url>&<arrow>&<no local sites>&<body flags>

Alternatively, parameters can be specified, in any combination in any order, by name :

http://www.streetmap.co.uk/streetmap.dll?grid2map?X=<x>&Y=<y>&title=<title>&back=<back title>&url=<back url>&arrow=<arrow>&nolocal=<no local sites>& bimage=<body flags>

Where <x> and <y> are replaced by the grid reference of the location you want to show.

To work out a grid reference from one of our maps, select the street or post code near the location. When the location is displayed the small text underneath the large map should tell you the coordinates for the centre of the map. Each square on the map is 500 units. Simply work out where you are, in relation to the center of the map, in terms of map squares. Multiply this by 500 and add/subtract it from the centre coordinates. Alternatively, get an adult to do this for you, or try trial and error, and remember, don't run with scissors ! If we get enough demand, we may do an interactive coordinate calculator.

Optionally, <title> can be supplied, this sets the title displayed at the top of the page. Note that any spaces in the title should be replaced by the + symbol.

If <title> is supplied, optionally <back title> and <back url> can be supplied. <back title> is a description of a link back to the original page and <back url> is the URL of the link. Again note that any spaces in the title should be replaced by the + symbol.

If <back title> and <back url> are supplied, optionally <arrow> can be supplied. <arrow> is a yes/no flag, if set to a Y, an arrow is displayed on the map to indicate the location, very handy for pinpointing your exact location !

If <arrow> is supplied, optionally <no local sites> can be supplied. <no local sites> is a yes/no flag, if blank or set to anything other than a Y, local sites are displayed.

If <no local sites> is supplied, optionally <body flags> can be supplied. <body flags> inserts the specified text in the <body> tag at the top of the page (useful for specifying your own background image !). Note that any = sign in the body flags should be replaced with %3d and that any spaces in the title should be replaced by the + symbol.




The following URL displays the street map for the Grid Reference 526000 172800:

http://www.streetmap.co.uk/streetmap.dll?grid2map?526000&172800

This URL displays the street map for the Grid Reference 526000 172800, with the page title "We Are Here" :grid2map?526000&172800

http://www.streetmap.co.uk/streetmap.dll?grid2map?526000&172800&We+Are+Here

This URL displays the street map for the Grid Reference 526000 172800, with the page title "We Are Here", and a link back to us :

http://www.streetmap.co.uk/streetmap.dll?grid2map?526000&172800&We+Are+
Here&Back+To+Us&http://www.streetmap.co.uk/howto.htm


This URL displays the street map for the Grid Reference 526000 172800, with the page title "We Are Here", and a link back to us, showing the location with an arrow:

http://www.streetmap.co.uk/streetmap.dll?grid2map?526000&172800&We+
Are+Here&Back+To+Us&http://www.streetmap.co.uk/howto.htm&y


This URL displays the street map for the Grid Reference 526000 172800, with the page title "We Are Here", and a link back to us, showing the location with an arrow, without showing the local sites:

http://www.streetmap.co.uk/streetmap.dll?grid2map?526000&172800&We+
Are+Here&Back+To+Us&http://www.streetmap.co.uk/howto.htm&y&y


This URL displays the street map for the Grid Reference 526000 172800, with the page title "We Are Here", and a link back to us, showing the location with an arrow, without showing the local sites, using the image image6.gif as the background:

http://www.streetmap.co.uk/streetmap.dll?grid2map?526000&172800&We+
Are+Here&Back+To+Us&http://www.streetmap.co.uk/howto.htm&y&y&background%3dimage6.gif

This URL displays the street map for the Grid Reference 526000 172800, with the page title "We Are Here", without a link back to us, showing the location with an arrow, without showing the local sites, using the image image6.gif as the background:

Note that by naming the parameters, we can place them in any order and omit them where necessary.

http://www.streetmap.co.uk/streetmap.dll?grid2map?X=526000&Y=172800&bimage=
background%3dimage6.gif&arrow=Y&title=We+Are+Here&nolocal=Y



Linking Using Outlook



This helpful tip was supplied by Malcolm Wotton

Guys,

I had an idea recently that it would be cool if Outlook and Streetmap
integrated properly so I could go straight from a contact to a map of where
they lived. I came up with the following script.

Basically if there is a postcode in your contact then it creates a streetmap
reference to a map page, otherwise it calls up the royal mail site to help
you track down the mail address. If there is another web page in place it
leaves it alone.

You may like to consider developing it further or simply publicising it on
your site (if you I'd want you to put my name against it).

Anyway, here's the code, have fun


Sub Main()

'Access the Outlook object model
''and create an AppointmentItem object.
Set myOlApp = New Outlook.Application
Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myfolder = myNameSpace.GetDefaultFolder(olFolderContacts)

Dim WebRef As String
Dim startRef As String
Dim u4string As String
Dim webstring As String
Dim defaultref As String

startRef = "http://www.streetmap.co.uk/streetmap.dll?Postcode2Map?"
defaultref = "http://www.royalmail.co.uk/paf/pcodefin.htm"

For i = 1 To myfolder.Items.Count
postcode = myfolder.Items(i).BusinessAddressPostalCode
WebRef = defaultref
If postcode < > "" Then
WebRef = startRef
For j = 1 To Len(postcode)
If Mid(postcode, j, 1) = " " Then
WebRef = WebRef + "+"
Else
WebRef = WebRef + UCase(Mid(postcode, j, 1))
End If
Next j
WebRef = WebRef & "&nolocal=Y"

End If

If myfolder.Items(i).BusinessAddress = "" Then
u4string = ""
WebRef = ""
Else
u4string = WebRef
webstring = myfolder.Items(i).WebPage
End If

If Left(webstring, Len(startRef)) = startRef Or webstring = "" Or webstring = defaultref Then
webstring = WebRef
End If

If myfolder.Items(i).User4 < > u4string Or myfolder.Items(i).WebPage < > webstring Then
myfolder.Items(i).Display
myfolder.Items(i).User4 = WebRef
myfolder.Items(i).WebPage = webstring
myfolder.Items(i).Close (olSave)
End If

Next i

MsgBox ("Finished updating all web references")

End Sub



Easy 'innit ?

Photographic and video studio hire          Professional Videos of Pompeii and Lido