Closed GoogleCodeExporter closed 9 years ago
Until this will be accepted you can add this snippet to the extensions file.
Then if it will be immplemented and you would update to eg. beta the syntax
would work and you could remove that extension. The jquery.ui.map.extensions.js
works both as a bug fixer, custom client implementations and request impl
without changing the core code.
clearDirections: function() {
var a = this.get('services > DirectionsRenderer');
if (a) {
a.setMap(null);
a.setPanel(null);
}
}
Original comment by johansalllarsson
on 1 Sep 2011 at 12:44
That works great, cheers!
Original comment by christop...@gmail.com
on 1 Sep 2011 at 12:55
Original comment by johansalllarsson
on 20 Oct 2011 at 5:45
Original issue reported on code.google.com by
christop...@gmail.com
on 1 Sep 2011 at 11:54