On Aug 25, 2:34 am, "[email protected]" <[email protected]> wrote: > On Aug 25, 12:23 am, sgiddings <[email protected]> wrote: > > > Hi Larry, > > > In fact, it was your own page that you put in place to help me with > > 'donuts' ! > > >http://www.geocodezip.com/v3_polygon_example_donut.html > > But I asked for "the map where you tried to adapt it and failed". > > I'm sure I can do it, given time and motivation (it is just math).
The problem as posed is both underspecified (not enough information) and over specified (too much information). So you have to make some decisions when you write your code. For this case you may know the solution, but for a general purpose arc routine, you will need to address them. 1. You have a radius, center point and two points on the circle. What if they aren't consistent? Does the arc go through both points or have the specified radius from the center? 2. There are 2 solutions: big arc and little arc. What determines which way the arc is drawn, clockwise or counter-clockwise? -- Larry > > > Simon > > > On Aug 24, 8:35 pm, "[email protected]" <[email protected]> > > wrote: > > > > On Aug 24, 11:27 am, sgiddings <[email protected]> wrote: > > > > > I need to draw an arc between two points on the map, which are defined > > > > by a third "centre" point, keeping the same radius. > > > > > Point A is at (48.596190206866830 : -1.5551704322317228) > > > > Point B is at (48.610335003092956 : -1.6123447775299600) > > > > Centre point is at (48.565630000000006 : -1.6050300000000002) > > > > The radius between the centre point and the outer points is 5 Km > > > > > I tried to adapt the polyline circle example but have clearly not > > > > understood what I should do. > > > > > Can anyone help me with this ? > > > > Probably. Where is the map where you tried to adapt it and failed? > > > > -- Larry -- 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.
