Skip to content

Commit

Permalink
fix(AgmPolygon): createPolygon type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srisumanth authored and sebholstein committed Mar 6, 2018
1 parent 98be586 commit 2563cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/services/google-maps-api-wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class GoogleMapsAPIWrapper {
});
}

createPolygon(options: mapTypes.PolygonOptions): Promise<mapTypes.Polyline> {
createPolygon(options: mapTypes.PolygonOptions): Promise<mapTypes.Polygon> {
return this.getNativeMap().then((map: mapTypes.GoogleMap) => {
let polygon = new google.maps.Polygon(options);
polygon.setMap(map);
Expand Down

0 comments on commit 2563cae

Please sign in to comment.