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

On Sat, Jan 9, 2010 at 1:54 AM, bratliff <[email protected]> wrote:

> On Jan 7, 8:12 am, Paul Kulchenko <[email protected]> wrote:
> > Berry,
> >
> > I don't get any errors in IE7, but I don't see any changes either:
> > states don't change their colors. This may be related to the fact that
> > buttons at the top of the page don't change their states (view0 is not
> > selected as it is in FF). I haven't had a chance to look deeper yet.
> >
> > Paul.
>
> Hi Paul,
>
> Thanks for looking at it.  I am seeing the little yellow icon in the
> lower left corner of the screen.  If I click it, it displays an error
> at char 3 of line 397 (object does not support the method) I believe.
> If I reposition my code, the error does not change.  I assume it is in
> the API which is obfuscated thus difficult to examine.
>
> I have made several changes to deal with the state of Alaska.  Some
> small islands are in the Eastern Hemisphere.  Dragging the map across
> the International Date Line was not working.
>
> I have also encountered the one pixel center shift you described a
> couple of months ago.  It was causing polys to be rebuilt too often.
> I am using fixed point arithmetic with shifting.  Google is using
> floating point arithmetic with rounding.  To reconcile the
> differences, I am passing the results back to Google in a "LatLng"
> object to recalculate "fromLatLngToDivPixel" with an adjusted center.
> It is a little extra work but it eliminates the occasional
> discrepency.
>
> Perhaps Ben can confirm whether the Internet Explorer error is my
> fault or a bug in the API.  The code I am using is very similar to
> "excanvas" & to the API.  The main difference is the way the DOM is
> built.  I am using "document.createElement()".  "excanvas" uses
> "object.insertAdjacent Html()".  For a lot of polys, I believe direct
> manipulation of the DOM will be quicker.
>
> I suspect it is a naming conflict.  Perhaps I cannot use the "v"
> namespace safely.  I have no clue what is causing the error.  I am
> desparate for some direction from Google.
>
> Berry
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
>
>
--
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