-
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
google is not defined #1504
Comments
I have a related issue but it is on extending the bounds. Only since updating to 1.0.0-beta.4 |
I don't think this is an issue anymore, I just had to do some minor refactoring as this feature has now been merged: In your agm-map tag amend the fitBounds attribute to be true: In your agm-marker tag add this attribute: Hope this helps |
@lespons Please provide a demo on Stackblitz |
I've just noticed that there's a problem with the |
I have a similar problem with the if (this._isLatLngBoundsLiteral(bounds) && google && google.maps) {
var newBounds = google.maps.LatLngBounds();
newBounds.union(bounds);
bounds = newBounds;
} The |
Issue description
I have undefined error in
const newBounds = google.maps.LatLngBounds();
https://github.com/SebastianM/angular-google-maps/blob/master/packages/core/directives/map.ts#L479
Steps to reproduce and a minimal demo of the problem
The text was updated successfully, but these errors were encountered: