On Jan 10, 11:23 pm, Ben Appleton <[email protected]> wrote:
> Berry,
>
> I have a simplistic, unobfuscated poly renderer 
> here:http://appleton-static.appspot.com/static/small_poly_test.html
> This includes a snippet to render VML.  Creating VML is an art.  I suggest
> you cut-and-paste working code and then carefully modify it to your needs,
> verifying that it still works after each small change.  You'll want a
> VML-capable browser.
>
> Good luck!
> Ben

Thanks Ben,

I have made some changes to fix a bug in the "Examiner".  Apparently
attempting to display a non-existent "shape" property kills the
browser.  Thanks to Ozcur for isolating it.

I am trying to avoid the use of "insertAdjacentHtml" with a series of
"createElement" statements instead.  I have looked at the way both the
API & "excanvas" use VML.  It looks like each "shape" can be either
"filled" or "stroked" but not both.  Another identical "shape" is
required to do the other half.  To be safe, I am applying
"style.behavior" to every VML DOM element.  I am also adding the "v"
name space if it is missing.  I am using simple "coordorigin" &
"coordsize" values to avoid confusion.  I am ready to throw in the
towel on VML support figuring developers ought to unite to kill off
Internet Explorer.

I will keep an unobfuscated copy of the source code at:

    http://www.polyarc.us/cluster.js

in case anyone else feels like playing with it.  The relevant lines of
code are 1000-1070 today.  Their position might change a bit in the
future.  I will look into it again tomorrow once my disgust with
Microsoft has subsided.  I have wasted the entire week on their
pathetic browser.

Thanks very much for your help.

Berry

P.S.

I added fast point reduction for points along the interpolation line.
For states like Colorado with a lot of straight borders, it makes a
big difference.  The rendering speed is essentially the same but the
size of each cached path element is reduced.  It also helps
reliability for large tiles (1024x1024).
-- 
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.


Reply via email to