asroboy / google-maps-utility-library-v3

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

zIndex on add has a typo for RichMarker #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
if you create a new RichMarker and use the format:

new RichMarker({
            position: LatLng,
            map: map,
            zIndex: 200,
            content: "<b>hello</b>"
          });

Current implementation will throw an error on not finding the getZindex method.

Change Line 703 to:

this.markerWrapper_.style['zIndex'] = this.getZIndex();

And it works fine

Cheers
AndrewF

Original issue reported on code.google.com by ajfisher...@gmail.com on 15 Aug 2010 at 12:46

GoogleCodeExporter commented 8 years ago

Original comment by lu...@google.com on 6 Oct 2010 at 12:31