You might also find the geometry library useful: http://code.google.com/apis/maps/documentation/javascript/geometry.html#SphericalGeometry
In particular, take a look at google.maps.geometry.computeOffset: http://code.google.com/apis/maps/documentation/javascript/reference.html#spherical Cheers Ben On Fri, Aug 12, 2011 at 10:05 AM, Rossko <ros...@culzean.clara.co.uk> wrote: > > I'm wondering if anyone can shed some light on how I might do the > > following...I would like to add a random marker at some distance away > > from another marker, but only within a specific radial (or degree > > range, if that makes any sense). > > Thedre are usefdul algorithms on this page > http://www.movable-type.co.uk/scripts/latlong.html > including > "Destination point given distance and bearing from start point" > which you could seed with your constrained random variables > > -- > 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 > google-maps-js-api-v3@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.