-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cluster not working #1124
Comments
Have created sample example in plunker. |
I also had this problem in my ng-cli app (I specify this because it might be different than what systemjs requires). In my app.module.ts
|
Just done what @cdarken has suggested also
Just trying to play with this example #1044 (comment) |
implemented what @cdarken suggested as well and im getting "EXCEPTION: Uncaught (in promise): Error: Error in ./MapPageComponent class MapPageComponent - inline template:29:12 caused by: No provider for GoogleMapsAPIWrapper! even after including the wrapper in my main ngModule |
What i'm basically trying to do is add markers on clicking the map, and clustering them in real time, i don't even know if logically speaking, this feature is possible? |
@cdarken your second step should be not needed because of this line: https://github.com/SebastianM/angular-google-maps/blob/master/packages/js-marker-clusterer/directives/marker-cluster.ts#L37 |
@kuncevic you have to run |
@sadeajayi I think you forgot to call |
➡️ Im closing this because I don't see any bug. Feel free to reopen if you still think there's a bug or comment below. |
But cluster Breaks Info window functionality. Without Info Window cannot use cluster. |
@kuncevic I don't understand how this relates to AGM-(Cluster) |
Is to possible to change the cluster image dynamically in AGM(cluster) by clicking the button? |
able to change the cluster imagePath dynamically in AGM. But the image not changing. Please help me |
Is there a working example? ERROR Error: StaticInjectorError(AppMModule)[ClusterManager -> GoogleMapsAPIWrapper]: thanks This is a Meteor AppWhen I tried in pure Angular, it worked perfectly as expected!! |
ERROR Error: Uncaught (in promise): Error: Template parse errors:
'agm-marker-cluster' is not a known element:
<agm-map [latitude]="lat" [longitude]="lng" [zoom]="zoom" [styles]="mapStyle">
[ERROR ->]
<agm-marker *ngFor="let m of markers; let i = index"
"): ng:///MapModule/MapComponent.html@17:8
Error: Template parse errors:
'agm-marker-cluster' is not a known element:
The text was updated successfully, but these errors were encountered: