Skip to content

1.1.0

Compare
Choose a tag to compare
@joelkravets joelkravets released this 09 Mar 23:01
· 5 commits to master since this release

Refactoring

The position option was renamed to placement to be more consistent with Google Maps. This change is backwards compatible with versions <1.1.0.

Features

  • closeWhenOthersOpen: Determines if the info window will close when any other Snazzy Info Window is opened. (Fixes #6)
  • setPosition: Set the position of the info window. A valid Google Map instance must be associated to the info window. This could be either through the marker or map option. (Fixes #4)
  • placement: Choose where you want the info window to be displayed, relative to the marker. (Fixes #7)
  • isOpen: Determines if the info window is open.