adds additional (optional) parameters to addMarker for title and infoWindow
adds check for marker.info before opening infoWindow