Berry,

I think I've fixed a couple of errors on my own.  One thing, is there
a way to remove the polycluster after creating it?  I tried
polycluster.setMap(null) but it's throwing an error.  Once I get that
sorted I should have some code to share with you.

- Tim

On Oct 8, 11:10 am, bratliff <[email protected]> wrote:
> On Oct 8, 2:01 pm, Tim G <[email protected]> wrote:
>
> > Ah, sorry about that. I have tried to simplify it a little more.  You
> > can find my use of polycluster on line 331 of the file below:
>
> >http://www.dgcoursereview.com/google_example/templates/routemap_main_...
>
> > highPoints is the array of points from the directionspolyline. I
> > convert them to the polycluster format using a function I found in
> > another thread in the group (toPolyCluster 
> > fromhttp://www.william-map.com/20100717/2/test.htm?polyline,0).
>
> > I am using the polycluster.js file linked from this 
> > example:http://home.provide.net/~bratliff/polycluster/v3/hawaii.html
>
> Can you simplify it further with nothing except PolyCluster calls ?
> "toPolyCluster" is unnecessary.  Just use a double array of {x:,y:}
> objects.  Look at "hawaii.raw" for an example.  The API requires every
> vertex to execute a "new google.maps.LatLng()" constructor which seems
> ridiculous to me.  PolyCluster uses JavaScript arrays directly.

-- 
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