Berry,

Here you go, as simple as it gets (hopefully!).  I set the stroke to
300px.  Typically I'd use a ~300px stroke when you're zoomed in pretty
close.  Zooming in further, I'd just remove the poly so you get a
clear map view.  Zooming out, I'd make the stroke more narrow,
eliminating the issue in most cases.

http://www.dgcoursereview.com/google_simple/beta_cluster_simple.php

I did notice the issues started to show up at 129px.  At 128px you
could zoom in to any level without issue.  129px started to show
rendering issues.



On Oct 8, 12:46 pm, bratliff <bratl...@umich.edu> wrote:
> On Oct 8, 4:15 pm, Tim G <timgos1...@yahoo.com> wrote:
>
>
>
> > Berry,
>
> > I figured out I can just reload the polycluster object and it deleted
> > the old overlay.  So with that sorted, everything seems to be working
> > well except at the higher zoom levels there seems to be issues
> > rendering the line similar to the problems I was having using the
> > Google's Polyline.  Here is my example.. I tried to make it as simple
> > as I could while still having the code work:
>
> >http://www.dgcoursereview.com/google_simple/beta_cluster_map.php
>
> > Also, is there a way to remove the overlay? setMap(null) wasn't
> > working.  Do I just set the color to be clear as you did on your
> > examples?
>
> > Thanks again,
> > Tim
>
> Think of PolyCluster like an extension of the API rather than an
> OverlayView object.  You never have to remove it.  You do not require
> multiple PolyClusters.  Just load your polys separately or together.
> To destroy a poly, just reload it with an empty array.  PolyCluster
> will discard the related "cache" elements.
>
> If you can eliminate the use of the "new google.map.LatLng()"
> constructor, you will improve performance significantly.  You will be
> able to eliminate your "toPolyCluster" function too.
>
> To simplify it to the point I can diagnose it, hard code your poly
> array.  It is really one array containing several other arrays.
> Please remove all bells and whistles from your map.  I have a limited
> amount of time to spend looking at it.  With nothing superfluous, I
> will be able to examine the error.  Thanks very much.

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to