yenbao1340 / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

ClusterMarker marks style dirty every time. #134

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Any map movement which calls the function ClusterMarker_.prototype.setSums

What is the expected output? What do you see instead?

ClusterMarker checks if a clustermarker's index equals the new style index
selected after a user moves the map.  The conditional is wrong and causes
the boolean 'styleDirty_' to always be set to true.  This mean redraw is
called an excessive amount.

  Current conditional:

    843: sums.index_ !== this.index_

  Correct conditional:

    843: sums.index !== this.index_

What version of the product are you using? On what operating system?

r1018.  Windows Vista.

Please provide any additional information below.

Original issue reported on code.google.com by Ben.Talberg on 31 Jul 2009 at 6:44

GoogleCodeExporter commented 8 years ago
Sorry, should be more specific about product. Found using:

MarkerClusterer r1018

Original comment by Ben.Talberg on 31 Jul 2009 at 6:45

GoogleCodeExporter commented 8 years ago

Original comment by pamela.fox on 1 Aug 2009 at 11:17

GoogleCodeExporter commented 8 years ago
Fixed on r1019 along with issue 135.

Original comment by spallad...@gmail.com on 1 Aug 2009 at 2:37