Angular Google Maps


Topic: Angular Google Maps

mog5808 pro asked 7 years ago

I keep getting the following error when i ng serve
/path/to/typescripts/angular-bootstrap-md/free/angular2-google-maps/ts/core/services/managers/polygon-manager.ts (31,30): Argument of type 'Promise<Polyline>' is not assignable to parameter of type 'Promise<Polygon>'.
  Type 'Polyline' is not assignable to type 'Polygon'.
    Property 'getPaths' is missing in type 'Polyline'.
Any ideas why that can be?

mog5808 pro answered 7 years ago

Was able to fix it by installing the component directly. FYI its name changed as well
Hi, thank you for the report. We're glad that you coped with this problem by yourself. We'll include the solution in the next version.
AGM - Angular Google Maps Old package name: angular2-google-maps New package name: @agm/core
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags