I couldn't really find a vml2svg library, there was this

http://vectorconverter.sourceforge.net/installation.html

but thats server side. anyways, i did find this

http://me.eae.net/archive/2005/12/29/canvas-in-ie/

which translates canvas js code to a vml implementation. As IE appears
to be the only browser without support for canvas, this
would let us just write canvas code for every browser. There doesn't
seem to have been much done with this code in a while, but
it looks like some people have already been succesfully using it
(check out the demo too)-

i wonder how the api is handling the conversion, maybe they'd release
a new juicy translation module for us to dig into...

On Oct 3, 4:55 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
> Wasn't it Sunny who wrote:
>
>
>
> >Hi,
>
> >By Shape I mean. When you draw something on Map.
> >In IE You can access that shape using
> >document.getElementsByTagName("shape");
> >But in Firefox This dont work.
> >I am using the VML to draw polygons on Map.
> >But VML dont work in Firefox.
>
> If you're drawing with VML then there will be <shape> tags.
> If you're drawing with SVG then there will be <svg> tags.
> If you're drawing with CANVAS then there will be <canvas> tags.
>
> If you're using the API to draw polys, then you can use
>    document.getElementsByTagName("shape").length
>    document.getElementsByTagName("svg").length
>    document.getElementsByTagName("canvas").length
> to determine which drawing technology is being used and how many polys
> there are.
>
> If you're using VML directly, then
>    document.getElementsByTagName("shape").length
> will count the number of <shape> tags that you used, even in browsers
> that have absolutely no idea what a <shape> tag is.
>    document.getElementsByTagName("sausage").length
> will count the number of <sausage> tags that you used, even though no
> browsers have any idea what a <sausage> tag is, because I just made it
> up.
>
>  >can you change the vml to SVG on fly?
>
> There is such a thing as vml2svg (Go ogle it if you want more info) but
> then what do you do about browsers like Safari and Chrome which have
> neither VML nor SVG by default?
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to