kstukstu / google-maps-utility-library-v3

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

MarkerClusterer: Anchor field not porperly set #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Pretty easy: On line 939 of the unpacked markerclusterer.js it says:

  this.anchor = style.opt_anchor;

instead of

  this.anchor_ = style.opt_anchor;

which leads to the expression on line 969 always evaluating to false:

  if (typeof this.anchor_ === 'object') {

Demo link or sample code:
-

What steps will reproduce the problem?
1. set anchor property of style object
2. you will not see the text at the correct position

Expected result:
You should see the text at the correct position.

Actual result:
The anchor property will not be set.

Version: 1.0

Browser / Operating System:
all

Additional comments:
See above

*********************************************************
Tip: Star this issue (next to title) to receive notifications of status
changes against this issue, also used as a gauge for how many people are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by luciano....@gmail.com on 8 Sep 2010 at 1:08

GoogleCodeExporter commented 9 years ago
Oops, duplicate of issue 17.

Original comment by luciano....@gmail.com on 8 Sep 2010 at 1:10