-
Notifications
You must be signed in to change notification settings - Fork 15
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
wfnews-1582 #1272
wfnews-1582 #1272
Conversation
|
||
// Function to handle the timeout logic | ||
function handleTimeout() { | ||
self.selectIncidents.emit(identified.featureSet); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just use this
so it's clear. No need to reference self
@@ -182,7 +182,7 @@ export class ActiveWildfireMapComponent implements OnInit, AfterViewInit { | |||
}}); | |||
} | |||
|
|||
panToLocation(long, lat) { | |||
panToLocation(long, lat, noZoom?) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be more straightforward to define this as a default? zoom: number | null = 10
The boolean usage in panToFeature seems unecessary
No description provided.