Hi guys...wonder if you can help... I need to do the following:
1) Click on the Map...then it plots marker A 2) Then get the coordinates from marker A and plot a new Marker B 315meters to the West 3) Marker B is to be plotted using marker A (ideally) I am stuck on how to do part 2. How do i derive the coordinates of marker B? I have seen the harvesine formula Haversine formula: R = earth’s radius (mean radius = 6,371km) Δlat = lat2− lat1 Δlong = long2− long1 a = sin²(Δlat/2) + cos(lat1).cos(lat2).sin²(Δlong/2) c = 2.atan2(√a, √(1−a)) d = R.c The problem with this is...i only have the value of 1 coordinate -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
