Skip to content

(minor / doc typo in README) "The MapGeocoder.geocode method takes takes the .." #22327

@eamon-otuathail

Description

@eamon-otuathail

There is a minor typo on this page:
https://github.com/angular/components/blob/master/src/google-maps/map-geocoder/README.md
It has "takes" twice:
"The MapGeocoder.geocode method takes takes the .."

It might also be helpful to some devs to mention in this README that GeoCoder is defined as ;

  @Injectable({providedIn: 'root'})

and so automatically works as a singleton service (e.g. no need to explicitly list it as a provider in AppModule) and perhaps add a link to this page:
https://angular.io/guide/singleton-services

(same applies to MapDirectionsService)

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsarea: google-mapsdocsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions