You could also use:
directionsDisplay.setDirections({routes: []});
In this way, you can keep using one map with one renderer for all routes.
More Related Contents:
- Verify if a point is Land or Water in Google Maps
- Google Maps v3 – limit viewable area and zoom level
- Google Maps API v3: How to remove all markers?
- How to make cross-domain AJAX calls to Google Maps API?
- Google maps Places API V3 autocomplete – select first option on enter
- How to call fromLatLngToDivPixel in Google Maps API V3?
- Google Maps JavaScript API RefererNotAllowedMapError
- Google Maps API – Getting closest points to zipcode
- Google maps API V3 – multiple markers on exact same spot
- Google Maps API v3: Can I setZoom after fitBounds?
- Midpoint of route in google maps
- How can I create numbered map markers in Google Maps V3?
- Google Maps JavaScript API won’t display markers from KML exported from My Maps
- Maximum Lat and Long bounds for the world – Google Maps API LatLngBounds()
- Google Maps API v3 adding an InfoWindow to each marker
- Inconsistent behaviour drawing a route between two points in Google Maps v3
- Country specific zoom level in Google Maps API
- polyline snap to road using google maps api v3
- Multiple markers Google Map API v3 from array of addresses and avoid OVER_QUERY_LIMIT while geocoding on pageLoad
- Center Google Maps (V3) on browser resize (responsive)
- Google Maps Api v3 – getBounds is undefined
- Is there a way to Fix a Google Maps Marker to the Center of its Map always?
- How to detect if a point is in a Circle?
- Letting users draw curved lines on a google map?
- How can I modify the markers?
- fitbounds() in Google maps api V3 does not fit bounds
- Highlight polygon and tint rest of map using Google Maps [duplicate]
- Using Longitude/Latitude as Waypoint
- How to connect two points in Google map..?
- Google Maps API Multiple Markers with Infowindows