On Dec 1, 6:30 pm, Askjerry <[email protected]> wrote: > I want to have a page where I have input boxes for two locations... > - Survey Location [LAT 1] [LON 1] > - Donor Location [LAT 2] [LON 2] > > I have some javascript that will calculate the distance and bearing > between the two locations, and if needed... the center point between > the locations. > > What I want is to display a simple map with the following data... > > 1) A Yellow Pin where the SURVEY is located. > 2) A Red Pin where the DONOR is located. > 3) A Blue line directly from SURVEY to DONOR. > > Once I have that, I can display the distance and bearing under the > map. This would be very useful to me in the communications industry to > show a tower site in relation to a survey point. > > I am just starting with the API, I have a key, and I was able to get a > simple map with one pin to display. Just trying to get the second pin, > set colors, and draw the lines.
This is the Google Maps API v2 group. If you are "just starting", you should use the Google Maps API v3 as v2 is deprecated (maybe you are, can't tell from the information provided). The v3 group is: http://groups.google.com/group/google-maps-js-api-v3 > > Any help would be deeply appreciated. Generated bap size 800x400 > pixels would be ideal. It would be easier to help if you provided a link to your map (as requested in this group's posting guidelines). If you would like code written for you, you should hire someone to do it. -- Larry > > Thanks, > Jerry -- 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.
