move click marker event handler out of the createMarker loop
Merge remote-tracking branch 'upstream/master'
Merge pull request #327 from Konviser/master

move click marker event handler out of the createMarker loop