Download MapOCX Pro v7.1 - UnderTow Software, Inc.

Transcript
|ANDOVER||NH|||-71.824000,43.437000
Invalid ZipCode so a City/State search was performed instead.
N = GeoFind('N. andover,MA');
Returns N = 1
|NORTH ANDOVER||MA|||-71.136000,42.699000
N = GeoFind('Lawrence,NH');
Returns N = -1
|LAWRENCE CORNER||NH|||-71.523904,42.847232
A substring search on the city, within the specified state, was performed.
N = GeoFind('Lawrence,MA,01845');
Returns N = 1
|NORTH ANDOVER||MA|01845||-71.117900,42.687600
Results based on ZipCode search
N = GeoFind('Lawrence,MA,02117');
Returns N = 1
|BOSTON||MA|02117||-71.060300,42.358300
GeoFindArray(S:strring);
Method
It takes the same argument as the GeoFind routine. The results are returned through an interface
StreetsArray, through a record structure, IStreetRec. This approach was incorporated to primarily
accommodate developers not using visual environments, and therefore not being able to handle events
fired by the OCX in order to examine the Street property for hits generated from GeoFind.
IStreetRec = record
Name:string;
Address:string;
City:string;
State:string;
ZipCode:String;
AreaCode:String;
X:double;
Y:double;
end;
86