I don't see how this would have a license problem since this is totally on the address line.
As far as best routing I don't know. I will check on this
chiaiese wrote:Hi all,
can the samples posted be compiled with FW 2.5 ? It seems I miss something
Gale FORd wrote:It's still at the hotshare location.
http://www.hotshare.net/file/24300-4713157df9.html
I also uploaded a version to xHarbour community site
http://www.xharbour.com/xhc/index.asp?p ... show_sub=1
Gale FORd wrote:Here is a link where you can download it.
http://www.xharbour.com/xhc/index.asp?page=xhc_download.asp&type=dla&auth=517&show_h=8&show_i=8&show_sub=2
*----------------------------------------
FUNCTION Default( cVarByRef , uDefValue )
*----------------------------------------
/* This function is similar to SET DEFAULT <var> TO <value> command.
* <cVarByRef> Variable passed by reference
* <uDefValue> Default value to assign to the cVarByRef. Can be any data type.
* ex: Default( @AnyVar, "hello")
* Default( @AnyVar, 10)
*/
IF cVarByRef == NIL
cVarByRef := uDefValue
ENDIF
RETURN (Nil)
DEFAULT <cVar> := <uValue>
FUNCTION ShowMap( aAddress )
LOCAL oDlg, oActiveX
// Use the variables
cStreet := PadR( aAddress[1], 80 )
cCity := PadR( aAddress[2], 80 )
cCountry := PadR( "USA", 80 )
cStreet2 := space( 80 )
cCity2 := space( 80 )
cStreet3 := space( 80 )
cCity3 := space( 80 )
cStreet4 := space( 80 )
cCity4 := space( 80 )
cStreet5 := space( 80 )
cCity5 := space( 80 )
cWhatsNear := ''
nZoomLevel := 0
// Display the map
oWebMap := WebMap():new()
oWebMap:AddStopSep( cStreet, cCity,,, cCountry )
oWebMap:nZoomLevel := nZoomLevel
oWebMap:GenLink()
ShellExecute( 0, "open", oWebMap:cLink,,, 5 )
sysrefresh()
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 32 guests