Skip to content

Commit

Permalink
docs: missing import in map-directions-render (#21946)
Browse files Browse the repository at this point in the history
MapDirectionsService should be imported to be injected in the constructor
  • Loading branch information
ilmalte authored Feb 26, 2021
1 parent ae299c2 commit 72d7c68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/google-maps/map-directions-renderer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Using the `MapDirectionsService` requires the Directions API to be enabled in Go

```typescript
// google-maps-demo.component.ts
import {MapDirectionsService} from '@angular/google-maps';
import {Component} from '@angular/core';

@Component({
Expand Down

0 comments on commit 72d7c68

Please sign in to comment.