You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**
Hi, I apply agm-marker-cluster, code for that is given below, Its working fine for me, but when I try to use it with server side rendering its giving me an error
window['MarkerCluster']
<agm-map
[latitude]="lat"
[longitude]="lng"
[zoom]="zoom"
[streetViewControl]="false"
[zoomControl]="mapExpended"
[zoomControlOptions]="zoomControlOptions"
(centerChange)="onCenterChange($event)">
<agm-marker-cluster [styles]="clusterStyles">
<agm-marker
*ngFor = "let community of communityList; let i = index;"
[latitude]="community.Lat"
[longitude]="community.Lng"
[title] = "community.CommunityName"
[iconUrl]="getIconurl(i)"
(markerClick)="markerClick($event, community, i)">
**
Steps to reproduce and a minimal demo of the problem
**
If I update cluster-manager.js file then it works fine for me
Use import 'js-marker-clusterer-universal';
instead of import 'js-marker-clusterer';
**
The text was updated successfully, but these errors were encountered:
**
Hi, I apply agm-marker-cluster, code for that is given below, Its working fine for me, but when I try to use it with server side rendering its giving me an error
window['MarkerCluster']
<agm-map
[latitude]="lat"
[longitude]="lng"
[zoom]="zoom"
[streetViewControl]="false"
[zoomControl]="mapExpended"
[zoomControlOptions]="zoomControlOptions"
(centerChange)="onCenterChange($event)">
<agm-marker-cluster [styles]="clusterStyles">
<agm-marker
*ngFor = "let community of communityList; let i = index;"
[latitude]="community.Lat"
[longitude]="community.Lng"
[title] = "community.CommunityName"
[iconUrl]="getIconurl(i)"
(markerClick)="markerClick($event, community, i)">
**
Steps to reproduce and a minimal demo of the problem
_Use https://plnkr.co or similar -- try this template as a starting point: http://plnkr.co/edit/YX7W20?p=preview
What steps should we try in your demo to see the problem?
Not working in server side rendering
Should also work at server side rendering
angular7 & angular-google-maps version: 1.0.0-beta.5
**
If I update cluster-manager.js file then it works fine for me
Use import 'js-marker-clusterer-universal';
instead of import 'js-marker-clusterer';
**
The text was updated successfully, but these errors were encountered: