Skip to content

Cannot read properties of undefined (reading 'fromLatLngToDivPixel') #4

@massimiliamanto74

Description

@massimiliamanto74

I all,
when I add marker to OverlappingMarkerSpiderfier obj I receive this error:
Cannot read properties of undefined (reading 'fromLatLngToDivPixel')

this is my implementation:

const oms = new OverlappingMarkerSpiderfier(this._gmap, this._otm?.olOptions);
      this._markers.forEach((marker: google.maps.Marker) => {
        oms.trackMarker(marker, () => {});
      });

I don't understand the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions