-
Notifications
You must be signed in to change notification settings - Fork 35
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
Feature/heapmap refresh #378
Conversation
@apinf/developers Finally issue #322 is resolved. Now, map with heat points should update after any interaction with dashboard: on charts (if selecting specific time range) and when filtering by specific month, year & points limit. Please review, test and merge. |
// set an autorun function | ||
instance.autorun(function () { | ||
|
||
console.log("Autorun ->"); |
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.
Cleanup.
"change #filteringForm" : function(e){ | ||
"change #filteringForm" : function(event, template){ | ||
|
||
var instance = Template.instance(); | ||
|
||
// appending loading state | ||
$('#loadingState').html("Loading..."); | ||
|
||
console.log("Changed"); |
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.
Cleanup.
// function that parses map | ||
instance.parseMapData = function (data) { | ||
|
||
var mapData = data; |
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.
Perhaps rename the input variable to 'mapData', and this line is unnecessary.
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.
Done
No description provided.