fixing agm

This commit is contained in:
Finn Kempers 2020-08-12 13:27:34 +01:00
parent a0e28cb440
commit e4dcc2e664
2 changed files with 2 additions and 4 deletions

View file

@ -39,9 +39,8 @@
[latitude]="lat" [latitude]="lat"
[longitude]="lng" [longitude]="lng"
[zoom]="zoom" [zoom]="zoom"
[scaleControl]="true"
(idle)="viewBoundsChanged()"> (idle)="viewBoundsChanged()">
<agm-marker-cluster maxZoom="13" imagePath="https://raw.githubusercontent.com/googlemaps/v3-utility-library/master/markerclustererplus/images/m"> <agm-marker-cluster maxZoom="13">
<agm-marker <agm-marker
*ngFor="let m of markers" *ngFor="let m of markers"
[latitude]="m.latitude" [latitude]="m.latitude"

View file

@ -72,9 +72,8 @@
[latitude]="lat" [latitude]="lat"
[longitude]="lng" [longitude]="lng"
[zoom]="zoom" [zoom]="zoom"
[scaleControl]="true"
(idle)="viewBoundsChanged()"> (idle)="viewBoundsChanged()">
<agm-marker-cluster maxZoom="13" imagePath="https://raw.githubusercontent.com/googlemaps/v3-utility-library/master/markerclustererplus/images/m"> <agm-marker-cluster maxZoom="13">
<agm-marker <agm-marker
*ngFor="let m of markers" *ngFor="let m of markers"
[iconUrl]="'/assets/img/association/' + assocMap + '-map-pin.png'" [iconUrl]="'/assets/img/association/' + assocMap + '-map-pin.png'"