How to convert a location in address ?

24 views
Skip to first unread message

antoine wilhelm

unread,
Jun 9, 2011, 6:07:48 PM6/9/11
to google-earth-...@googlegroups.com
Hi everyone.

I have a problem so I need your help. I want to show the itinerary between two location. I known how to do that with two address...
So how can I convert two locations in address ?

If I can't, how can I go through that problem ?

In fact, I just want to do that :

x.load( from Location1 to Location2);

instead of

x.load( 'from address1  to address2 );

Thank you
in advance
for your help.

barryhunter (KML Guru)

unread,
Jun 10, 2011, 4:44:35 AM6/10/11
to KML Developer Support - Google Earth Plug-in
If this is the directions api, can just specify coordinates

x.load("from 56.34566,-3.4356 to 52.3456,-2.24546");


On Jun 9, 11:07 pm, antoine wilhelm wrote:
> Hi everyone.
>
> I have a problem so I need your help. I want to show the itinerary between
> two location. I known how to do that with two address...
> So how can I convert two locations in address ?
>
> If I can't, how can I go through that problem ?
>
> In fact, I just want to do that :
>
> *x.load( from Location1 to Location2);*
>
> instead of
>
> *x.load( 'from address1  to address2 );*

antoine wilhelm

unread,
Jun 13, 2011, 3:05:32 PM6/13/11
to google-earth-...@googlegroups.com
Thanks ! That's work ...
 

Dave Holmes-Kinsella

unread,
Jun 13, 2011, 6:59:33 PM6/13/11
to KML Developer Support - Google Earth Plug-in
And if you have address but no coordinates, you can invoke Google Maps
to do the geocoding for you. That being said, the license requires
that you display the mapped output of your geocoded address.

On Jun 9, 3:07 pm, antoine wilhelm wrote:
> Hi everyone.
>
> I have a problem so I need your help. I want to show the itinerary between
> two location. I known how to do that with two address...
> So how can I convert two locations in address ?
>
> If I can't, how can I go through that problem ?
>
> In fact, I just want to do that :
>
> *x.load( from Location1 to Location2);*
>
> instead of
>
> *x.load( 'from address1  to address2 );*
Reply all
Reply to author
Forward
0 new messages