Plot a address for Ireland

Yazzy
01-17-2006, 05:48 AM
Hi

Please HELP on how to plot a pushpin using a valid street address for any place in Ireland.

When I plot a location say in the UK shown below

LeadA = "74 Chase Hill Road, Arlesey,,,,United Kingdom"
Set objLoc = objMap.FindResults(LeadA)(1)
Set objpin = objMap.AddPushpin(objLoc)
Set PushpinPointer = objpin
objpin.Highlight = True

The above location is plotted correctly.

When the same exercise is repeated for Ireland address

Set objLoc = objMap.FindResults("BURLINGTON ROAD,DUBLIN 4, , , , Ireland")(1)

Set objLoc = objMap.FindResults(LeadA)(1)
Set objpin = objMap.AddPushpin(objLoc)
Set PushpinPointer = objpin
objpin.Highlight = True

The pushpin is plotted onto Sussex Road, Dublin, Ireland where the Burlington Hotel is located.

Why is Mappoint2004 NOT plotting the pushpin on BURLINGTON ROAD? This seems to be the result when trying to plot a pushpin onto any street; Mappoint2004 interrupts it as a place.

Hope someone can help

Wilfried
01-17-2006, 01:02 PM
Hi,

Use FindAddressResults. It returns you a collection of objects where some of them are Location object. You can use foreach to step trough it.

 
Web mp2kmag.com
mapforums.com