• Version 2.0.0
  • Published
  • 120 kB
  • No dependencies
  • MIT license


npm i agm-overlays
yarn add agm-overlays
pnpm add agm-overlays


Custom marker overlay for the @agm/core package



class AgmOverlay

class AgmOverlay {}


    constructor(_mapsWrapper: GoogleMapsAPIWrapper, _markerManager: MarkerManager);

      property bounds

      bounds: bounds;

        property destroyed

        destroyed: boolean;

          property draggable

          draggable: boolean;

            property infoWindow

            infoWindow: QueryList<AgmInfoWindow>;

              property latitude

              latitude: number;

                property longitude

                longitude: number;

                  property markerClick

                  markerClick: EventEmitter<void>;

                    property openInfoWindow

                    openInfoWindow: boolean;

                      property overlayView

                      overlayView: any;

                        property template

                        template: ElementRef;

                          property visible

                          visible: boolean;

                            property zIndex

                            zIndex: number;

                              method destroy

                              destroy: () => Promise<any>;

                                method getOverlay

                                getOverlay: (map: any) => any;

                                  method handleTap

                                  handleTap: () => void;

                                    method load

                                    load: () => Promise<void>;

                                      method ngAfterContentInit

                                      ngAfterContentInit: () => void;

                                        method ngAfterViewInit

                                        ngAfterViewInit: () => void;

                                          method ngOnChanges

                                          ngOnChanges: (changes: any) => void;

                                            method ngOnDestroy

                                            ngOnDestroy: () => void;

                                              method onChanges

                                              onChanges: (changes: any) => void;

                                                method onChangesOverride

                                                onChangesOverride: (changes: any) => void;

                                                  class AgmOverlays

                                                  class AgmOverlays {}


                                                    interface bounds

                                                    interface bounds {}

                                                      property x

                                                      x: latLng;

                                                        property y

                                                        y: latLng;

                                                          interface latLng

                                                          interface latLng {}

                                                            property latitude

                                                            latitude: number;

                                                              property longitude

                                                              longitude: number;

                                                                interface latLngPlus

                                                                interface latLngPlus {}

                                                                  property bounds

                                                                  bounds?: bounds;

                                                                    property latitude

                                                                    latitude: number;

                                                                      property longitude

                                                                      longitude: number;

                                                                        Package Files (3)

                                                                        Dependencies (0)

                                                                        No dependencies.

                                                                        Dev Dependencies (0)

                                                                        No dev dependencies.

                                                                        Peer Dependencies (1)


                                                                        To add a badge like this badgeto your package's README, use the codes available below.

                                                                        You may also use to create a custom badge linking to

                                                                        • Markdown
                                                                        • HTML
                                                                          <a href=""><img src="" alt=""></a>