agm-overlays icon indicating copy to clipboard operation
agm-overlays copied to clipboard

Input [visible] not working

Open ghost opened this issue 6 years ago • 2 comments

Hi, i have problem with [visible] input. I know some other ways how can I do it, but this one is much better. I have agm-overlay with ngFor, so ngIf I cant use. But I have some conditions for each marker specially, if current marker is visible or not. So will you repair [visible] input or I must do it som other way?

ghost avatar Jan 28 '19 09:01 ghost

The following code is short hand as I am on the go:

ng-container(*ngFor=“”)
 agm-overlay(*ngIf=“”)

You put your for loop around your if.

If you need more help, write again and maybe you’ll catch me at a better moment. Also if you are trying to use a css style visible attribute, it would go on your html content and not the agm-overlay tag.

AckerApple avatar Jan 28 '19 12:01 AckerApple

How did you do? Can we close this issue?

AckerApple avatar Feb 05 '19 13:02 AckerApple