Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on delphi mp2k4 findaddress within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Does anyone have a working findaddress code sniplet or could anyone tell me how do I use the returning idispatch ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
Hi, From the top of my head: Code: var
i: OleVariant;
Loc: Variant;
AddrResults: FindResults;
Country: OleVariant;
begin
// fill in City, Street, etc...
AddrResults := Map.FindAddressResults(Street, City, '', '', PostalCode, Country);
if AddrResults.Count > 0 then
for n := 1 to AddrResults.Count do begin
i := n;
Loc := AddrResults.Item[i];
// here you have all these things:
// Loc.StreetAddress.Street;
// Loc.StreetAddress.City;
// Loc.StreetAddress.postalcode;
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| delphi, findaddress, mp2k4 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FindAddress neighbourhood BE | eblubber | MapPoint Web Service and Virtual Earth | 1 | 03-24-2006 02:00 AM |
| Network installation & use of MP2K4 | Anonymous | MapPoint 2006/2009 Discussion | 3 | 02-19-2005 02:02 AM |
| FindAddress Results in c# | starbuck | MapPoint 2006/2009 Discussion | 1 | 09-21-2004 05:00 PM |
| Considering Moving To MP2k4 | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-04-2004 02:46 PM |
| Using MP2K4 to launch an other application | arkus | MapPoint 2006/2009 Discussion | 0 | 04-27-2004 11:23 PM |
Menorca Holiday
Enjoy a Menorca holiday at a great rate when booked through UlookUbook!