sudfunk / jquery-ui-map

Automatically exported from code.google.com/p/jquery-ui-map
0 stars 0 forks source link

Multiple directions at once #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, if like me you want to have multiple directions displayed at once, you have 
to edit jquery.ui.map.services.js so that line 86 become :

var f = new google.maps.DirectionsRenderer();

instead of :

var f = this.get('services > DirectionsRenderer', new 
google.maps.DirectionsRenderer());

Original issue reported on code.google.com by jbrassar...@gmail.com on 2 Nov 2011 at 5:49

GoogleCodeExporter commented 9 years ago

http://groups.google.com/group/jquery-ui-map-discuss/browse_thread/thread/7b8ab2
da968e6d2b/339fefcd90cf47fc?lnk=gst&q=directions#339fefcd90cf47fc

Original comment by johansalllarsson on 2 Nov 2011 at 6:05