Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Popup option missing from default usage and panning problem #4
The "popup" option for having a marker's info window open by default is only available on the addMarker additional method. It would be nice to have it available via the default usage. Either that or add "address" as an option on the addMarker method.
Also, when popup is set to true, it doesn't pan the map as it should - it seems to not pan down far enough meaning that the top of the info window can be cut off. Compare the panning that occurs when an info window is opened by click versus open using popup: true.
The missing popup option was confusing to me as well. Adding
Also, changing line 168
seems to help with the info window auto-panning problem.
Please try this update and see if this fixes the issue: