diff --git a/google-map/google-map-directions.html b/google-map/google-map-directions.html
index 09f9918..6226e84 100644
--- a/google-map/google-map-directions.html
+++ b/google-map/google-map-directions.html
@@ -36,12 +36,6 @@
mapReady: function() {
this.directionsService = new google.maps.DirectionsService();
this.directionsRenderer = new google.maps.DirectionsRenderer();
- this.startMarker = new google.maps.Marker({
- map: this.map
- });
- this.endMarker = new google.maps.Marker({
- map: this.map
- });
this.directionsRenderer.setMap(this.map);
this.startAddressChanged();
this.endAddressChanged();
@@ -86,9 +80,6 @@
if (status == google.maps.DirectionsStatus.OK) {
this.directionsRenderer.setDirections(response);
this.response = response;
- var leg = response.routes[0].legs[0];
- this.startMarker.setPosition(leg.start_location);
- this.endMarker.setPosition(leg.end_location);
}
}.bind(this));
}