Skip to content

Commit 72d7c68

Browse files
authored
docs: missing import in map-directions-render (#21946)
MapDirectionsService should be imported to be injected in the constructor
1 parent ae299c2 commit 72d7c68

File tree

1 file changed

+1
-0
lines changed
  • src/google-maps/map-directions-renderer

1 file changed

+1
-0
lines changed

src/google-maps/map-directions-renderer/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Using the `MapDirectionsService` requires the Directions API to be enabled in Go
2121

2222
```typescript
2323
// google-maps-demo.component.ts
24+
import {MapDirectionsService} from '@angular/google-maps';
2425
import {Component} from '@angular/core';
2526

2627
@Component({

0 commit comments

Comments
 (0)