Hello Mike about estract the math function take a look to example 3 at http://13thparallel.com/archive/bezier-curves/
but is just for 2 control points and 2 vector points PIF my site : http://sciuto.yolasite.com - at download area some mashup are available On 25 Gen, 13:25, Mike Williams <[email protected]> wrote: > The srufaculty code creates VML "curve" objects. The VML does all the > heavy lifting, but the only browser that implements VML is MSIE. I don't > believe VML allows you to extract the mathematical function, so you'd > have to redo all VML's work in your own code to get at the underlying > maths. > > The jsfiction code contains the algorithms that perform the mathermatics > in Javascript, so it should be possible to hack that code to extract the > maths. It renders unfilled curves by creating a large number of > single-pixel divs that have position:absolute. So it should work in all > browsers and you might be able to extract the maths. The awkward thing > is that the code you need to understand and modify > fromhttp://jsdraw2d.jsfiction.com/jsDraw2D.jsis a single line of Javascript > that's 66107 characters long and has no comments and doesn't use > meaningful names for its internal variables and functions. > > In both cases, you end up with something that's rendered directly onto > the screen, whereas you'd be better off with something that created > GPolyline objects that you could add to a map and have the API handle > the redrawing of the curve when the zoom level changes. > > -- > Mike Williams -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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.
