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
I'm having issues with agm-direction. When I use agm-direction component inside agm-marker, my page won't load or would be stuck. I've check every for an answer before deciding to ask this question.
public get origin(): any {
return { lat: 25.7782341, lng: -80.1867595 };
}
public get destination(): any {
return { lat: 25.7616798, lng: -80.1917902 };
}
I'm not getting any errors. The page either won't load, or would be stuck.
The text was updated successfully, but these errors were encountered:
Yes that was able to work. Thank you. Why do I have to assign the variable inside ngOnInit lifecycle? What happens if you want to pass the origin and destination as an Input() to a component?
I'm having issues with agm-direction. When I use agm-direction component inside agm-marker, my page won't load or would be stuck. I've check every for an answer before deciding to ask this question.
package.json
app.module.ts
map.component.html
map.component.ts
I'm not getting any errors. The page either won't load, or would be stuck.
The text was updated successfully, but these errors were encountered: