On Apr 24, 4:16 pm, Mike Williams <nos...@econym.demon.co.uk> wrote: > EShapes has an EOffsetBearing() function. > > http://econym.org.uk/gmap/eshapes.htm > > It's not really a Shapes function. I just put it there because I wanted > to use it for drawing hexagonal grids. > > http://econym.org.uk/gmap/example_eshapes.htm
Hi Mike, That looks perfect! I have a question though, though perhaps I'm just being dense. How can I pass the output of EOffsetBearing() to GPolyline to draw the line? I've tried things like: var endpoint = new EOffsetBearing(point, 100, 145); var polyline = new GPolyline([point, endpoint], "#0000FF", 2); But it won;t draw the line... What am I doing wrong? EOffsetBearing seems to be returning the correct data... Apologies if this is something really simple, it's been a while since I did any javascript. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---