Closed uttamchaturvedi9 closed 4 years ago
And the award for least amount of details in an issue description goes to...
Sorry for not providing complete details. I hope this must be clear now
Just use an ngIf on your agm-overlay to turn on off at will.
Put an img tag inside your agm-overlay and use ngIf to turn on off
Thanks Looks good
Close this issue. This is such a small matter you could have solved yourself. First no details then too much details. I mean an image tag and some ngif, you coulda come up with that.
fixed
I have one requirement to show/hide images on google map using agm something as shown below. I think there is some utility is available with AGM, however i am not aware of it.Below is my code to load map and on handleOnTilesLoaded() method I would like to add some code to load images. <agm-map [zoom]="5" [latitude]="lat" [longitude]="lng" (mapReady)="onMapReady($event)" (mapClick)="mapClick($event)" (mapReady)="mapReady($event)"(tilesLoaded)="handleOnTilesLoaded()">