Closed shubhanshu2009 closed 5 years ago
Use this version for Angular 4
"angular2-google-maps": "^0.17.0",
and your HTML code for the map should be like this
<sebm-google-map [latitude]="lat" [longitude]="lng" [zoom]="zoom" [disableDefaultUI]="false" [zoomControl]="false" (mapClick)="mapClicked($event)">
<sebm-google-map-marker
*ngFor="let m of markers; let i = index"
(markerClick)="clickedMarker(m.label, i)"
[latitude]="m.lat"
[longitude]="m.lng"
[label]="m.label">
<sebm-google-map-info-window>
<strong>InfoWindow content</strong>
</sebm-google-map-info-window>
</sebm-google-map-marker>
</sebm-google-map>
We had success (it functioned) using 1.0.0-beta.2 with angular 4 project.
Hello @redevill , 1.0.0-beta.2 is working but not properly. some functionalities like map is not loading after dragging map map is coming but zoom option is not coming and also i want to see only set location directly not on zooming this is also not work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Issue description
ERROR in Metadata version mismatch for module /var/www/html/skalenow_project/skalenow/node_modules/@agm/core/index.d.ts, found version 4, expected 3, resolving symbol AppModule in /var/www/html/skalenow_project/skalenow/src/app/app.module.ts, resolving symbol AppModule in /var/www/html/skalenow_project/skalenow/src/app/app.module.ts, resolving symbol AppModule in /var/www/html/skalenow_project/skalenow/src/app/app.module.ts webpack: Failed to compile.
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?
Current behavior
Expected/desired behavior
angular4 & angular-google-maps version angular version 4 "@agm/core": "^1.0.0-beta.5",
Other information I got a suggestion for upgrade angular version 4 to 5 or install agm/core older version. But i can't upgrade angular and unable to find agm/code older version. please suggest which viesion should i use in angular 4