Skip to content
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

SebmGoogleMap marker breaks when lat/lng is 0 #82

Closed
sebholstein opened this issue Jan 15, 2016 · 0 comments
Closed

SebmGoogleMap marker breaks when lat/lng is 0 #82

sebholstein opened this issue Jan 15, 2016 · 0 comments

Comments

@sebholstein
Copy link
Owner

Reported by @uthark:

If I pass location 0, 0 then component breaks with the error. The issue looks like in SebmGoogleMapMarker.prototype.ngOnChanges - condition if (!this._markerAddedToManger && this.latitude && this.longitude) is evaluated to false, so MarkerManager.addMarker is not called, but the marker exists in model. So, on render phase there is an issue I posted above.

Plunker: http://plnkr.co/edit/62hA5e?p=preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant