如何在googledirectionsjavascriptAPI中访问公交路线的票价属性?以下行不起作用:alert(response.routes[j].legs[k].fare.value);关于方向APIpage它说:farecontainsthetotalfare(thatis,thetotalticketcosts)onthisroute.Thispropertyisonlyreturnedfortransitrequestsandonlyforrouteswherefareinformationisavailableforalltransitlegs.Theinformat