AckerApple / agm-overlays

Custom marker overlay for the @agm/core package
MIT License
25 stars 24 forks source link

Work with Angular universal #10

Closed Akumuliation closed 6 years ago

Akumuliation commented 6 years ago

Please add support Angular universal. Now i have error "ERROR ReferenceError: window is not defined" )

AckerApple commented 6 years ago

I searched all code. I do NOT use any window references.

Maybe agm-core does?

AckerApple commented 6 years ago

All my code for the overlay work occurs here and it has no window references: https://github.com/AckerApple/agm-overlays/blob/master/src/AgmOverlay.component.ts

AckerApple commented 6 years ago

This package, agm-overlays, also offers marker-clustering and I think the package we depend on for clutering maybe the one that has the window reference.

This package: js-marker-clusterer

AckerApple commented 6 years ago

Fare warning, I will close this issue next time I review this packages issues