allenhwkim / angularjs-google-maps

The Simplest AngularJS Google Maps V3 Directive
http://ngmap.github.io
MIT License
1.52k stars 516 forks source link

Angular maps info window anchor #847

Closed lironbar closed 6 years ago

lironbar commented 6 years ago

Is there an option to set the info window anchor position few px above its location?

allenhwkim commented 6 years ago

That's google maps setting.

https://developers.google.com/maps/documentation/javascript/infowindows. https://developers.google.com/maps/documentation/javascript/3.exp/reference#InfoWindowOptions

I see setPosition and pixelOffset.

People may wonder why I am just referencing google document without the actual implementation. It's because this is just wrapper of google maps api, and the implementation is just exactly the same as google api by setting attribute or using vanilla Javascript.

Closing this as out of scope.