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

InfoBox should consider "anchorPoint" property to adjust the anchor #244

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using infobox.open(map, marker), the infobox's anchorpoint is defined 
using marker.getPosition().

However, the google.maps.marker class provides an "anchorPoint" property to 
determine the offset from the marker's position to the tip of an InfoWindow 
that has been opened with the marker as anchor (which is correctly used by 
google's native infowindow).

The InfoBox library currently doesn't consider this "anchorPoint" property. It 
should !

Original issue reported on code.google.com by jul...@gmail.com on 5 Apr 2013 at 2:37