[DUG] Access to street maps

Jeremy Coulter jscoulter at gmail.com
Mon Mar 14 08:26:45 NZDT 2011


The other thing to note too if you want to use Google Maps to display
locations you need to signup and get a key that you need to pass through
each time you make a call which is fine if you will only be calling it from
the same location as it is tied to a Domain name.

We do exactly what you are doing to show surgery locations and various other
things at work. Took a bit of time to figure it out, but it works well.

 

Also something interesting I noticed the other day. My wife was using Wises
online the other day, I noticed they use Google now too...any why not ;-)

 

Jeremy

 

From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Steve Peacocke
Sent: Monday, 14 March 2011 07:28
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Access to street maps

 

Hi Mark,

 

You will need to change the address to the XY coordinates in order to
display the map. Yes, all is possible using JavaScript and the Google Maps
API.

 

http://code.google.com/apis/maps/index.html

 

and

 

http://code.google.com/apis/maps/documentation/javascript/

Steve Peacocke
Mobile: 0220 612-611

Linkedin Professional Profile
<http://nz.linkedin.com/pub/steve-peacocke/1/a06/489> 





On Mon, Mar 14, 2011 at 7:22 AM, mark <wcsl at kol.co.nz> wrote:

I have a D2009 application which holds the addresses of employees and the
customers they service.

 

Is there a way that I can display a map with a selected address?

 

Ideally, I would also like to be able to get the distance between two
addresses.

 

I assume that this information is available from Google or Wises, but have
no idea how to go about accessing it. I'm guessing it will be a Web Service,
with which I have limited experience (I have an interface to one).

 

Any pointers in the right direction would be appreciated.

 

Mark 

 

 

 

 


_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110314/74c9abe7/attachment.html 


More information about the Delphi mailing list