Google Maps

Postby Gale FORd » Thu Apr 03, 2008 4:22 pm

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
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Postby chiaiese » Wed Jun 18, 2008 5:57 pm

Hi all,
can the samples posted be compiled with FW 2.5 ? It seems I miss something

many thanks
Roberto Chiaiese
Roberto Chiaiese
R&C Informatica S.n.c.
http://www.recinformatica.it
info@recinformatica.it
chiaiese
 
Posts: 84
Joined: Wed Feb 08, 2006 10:32 pm
Location: Roma, Italia

Postby Patrick Mast » Wed Jun 18, 2008 7:36 pm

chiaiese wrote:Hi all,
can the samples posted be compiled with FW 2.5 ? It seems I miss something

Hey Roberto,

Why not upgrade your FiveWin?

Patrick
User avatar
Patrick Mast
 
Posts: 246
Joined: Sat Mar 03, 2007 8:42 pm

Postby chiaiese » Thu Jun 19, 2008 7:27 am

Patrick,
I made a lot of modifications to FW source files and together with my own library now is a very stable one.
Upgrading means to me remake all the changes, so i would upgrade only if necessary

regards
Roberto
Roberto Chiaiese
R&C Informatica S.n.c.
http://www.recinformatica.it
info@recinformatica.it
chiaiese
 
Posts: 84
Joined: Wed Feb 08, 2006 10:32 pm
Location: Roma, Italia

Postby Marco Turco » Thu Jun 19, 2008 10:46 am

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


It 's a really nice routine. Thanks for shared it !!
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Postby Gale FORd » Thu Jun 19, 2008 8:25 pm

Thanks, I wish I could contribute more.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: Google Maps

Postby karinha » Wed Oct 26, 2011 4:18 pm

Señores buenas tardes.
Alguien podría enviarme o un enlace para descargar?
Gracias.

Mi correo:

kmt_karinha@pop.com.br
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7766
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Google Maps

Postby Gale FORd » Wed Oct 26, 2011 4:59 pm

Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: Google Maps

Postby karinha » Wed Oct 26, 2011 6:08 pm




Gracias Gale, voy probar.

Very thanks!

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7766
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Google Maps

Postby karinha » Fri Oct 28, 2011 11:55 am

Gale,

Al intentar compilar, me genera este error:

unresolved external _HB_FUN_DEFAULT refenced from WEBMA.OBJ

Very thanks for help.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7766
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Google Maps

Postby MarcoBoschi » Fri Oct 28, 2011 12:24 pm

:D
Very Happy
User avatar
MarcoBoschi
 
Posts: 1063
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Google Maps

Postby Gale FORd » Fri Oct 28, 2011 2:26 pm

Default() is a function in CT (Clipper Tools). I use xHarbour Builder so it never gave me an error.
You can replace the function with your own style of assigning a variable a default value.

FYI here is the code for Default()
Code: Select all  Expand view

*----------------------------------------
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)


 
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: Google Maps

Postby hua » Fri Oct 28, 2011 3:45 pm

I suspect you could change default() to FWH native DEFAULT syntax,
Code: Select all  Expand view
DEFAULT <cVar> := <uValue>
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Google Maps

Postby jds » Mon Jan 13, 2014 7:00 pm

How can I use google maps or an other map within a fivetech or clipper program
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: Google Maps

Postby TimStone » Tue Jan 14, 2014 12:27 am

Use this function. aAddress has two variables, the street name and the city name. I have a default of 80 spaces each. You can expand it to include the country.

Code: Select all  Expand view

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


 
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2942
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Antonio Linares and 43 guests