I suspect this is not the correct place to be asking this. However, I
just started messing with "My Maps" and the API yesterday and I'm
still a bit confused as to what is what.

My goal is to create a series of "My Maps" showing highlighted block
ranges. Thus far, I have done a couple by hand. Example:

http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=215232235712219931164.00049a8e4fd8a62c331fc&ll=37.274326,-77.28178&spn=0.045487,0.131149&z=14

However, it occurred to me that the process could be largely automated
by passing the begin and end block range addresses to Google geocoder
and using the resulting coordinates to generate a series of line
markers, write this to a KML file and then be import it into a My Map.

So far, I've hacked out some rough PHP code that will retrieve
coordinates from the Google geocoder using supplied addresses as well
as some PHP that will generate appropriate KML for lines between two
coordinates.

The brick wall I'm hitting is that I'm now realizing that to have a
line follow the streets, the coordinates for each curve/turn have to
be acquired and separate line markers written to the KML file.

The Google Directions API does this, except that it also spits out way
more data that I need; waypoints, turn directions, etc...

All I need is a way to acquire either KML or coordinates data for the
path between two points. These points can be addresses or coordinates.
>From there, I can build up a KML file to be imported into either
Google Earth or a My Maps.

I'm working in PHP. However, I think that is largely irrelevant. For
me, the missing link is what call to make to what Google API to get
the required data in return.

If this is not the correct forum for this request, again I apologize.
Please direct me to the correct forum.

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to