Directions for multiple markers on map - Google Groups

文章推薦指數: 80 %
投票人數:10人

directionsService.route(request, function(response, status) { if (status == google.maps.DirectionsStatus.OK) { directionsDisplay.setDirections(response);. } Groups[deprecated]GoogleMapsJavaScriptAPIv3.Pleaseusethelatestpost.ConversationsAboutDirectionsformultiplemarkersonmap975viewsSkiptofirstunreadmessagedjunread,Jan9,2010,10:05:30PM1/9/10ReplytoauthorSignintoreplytoauthorForwardSignintoforwardDeleteYoudonothavepermissiontodeletemessagesinthisgroupLinkReportmessageasabuseSignintoreportmessageasabuseShoworiginalmessageEitheremailaddressesareanonymousforthisgrouporyouneedtheviewmemberemailaddressespermissiontoviewtheoriginalmessagetoGoogleMapsJavaScriptAPIv3Iwanttoshowdirectionsformultiplemarkersonmapbutiamunabletodosuch.ihaveaarrayofmarkersandwiththehelpoflooponitiamgettingtheresponsefromDirectionsServicevardirectionsService=newgoogle.maps.DirectionsService(); directionsDisplay=newgoogle.maps.DirectionsRenderer(); directionsDisplay.setMap(map);directionsDisplay.setPanel(document.getElementById("gmapdirections"));for(vari=1;iwrote:>Canyoutakealookathttp://www.grasoft.be/mtb/gmap/route-v3.htmRonnyAerts[Aerts-Somers]unread,Jan20,2010,4:18:46AM1/20/10ReplytoauthorSignintoreplytoauthorForwardSignintoforwardDeleteLinkReportmessageasabuseSignintoreportmessageasabuseShoworiginalmessageEitheremailaddressesareanonymousforthisgrouporyouneedtheviewmemberemailaddressespermissiontoviewtheoriginalmessagetogoogle-map...@googlegroups.com Doyouhavesomewhereawebsite linkwiththewholecodeIcouldlookat? ReplyallReplytoauthorForward0newmessages



請為這篇文章評分?