Re: [polymer-dev] Re: Call this.push in Polymer({ }) function from HTML5's geolocation callback

2016-11-22 Thread Karl Tiedt
I intentionally left that method out because it is the least correct way to fix the problem anymore. -Karl Tiedt On Tue, Nov 22, 2016 at 8:09 AM, Abhilash Sathe wrote: > var self = this and then in place of this I used self. Problem Solved ! > Yes, scope was the problem. > > On Tuesday, Novemb

[polymer-dev] Re: Call this.push in Polymer({ }) function from HTML5's geolocation callback

2016-11-22 Thread Abhilash Sathe
var self = this and then in place of this I used self. Problem Solved ! Yes, scope was the problem. On Tuesday, November 22, 2016 at 9:13:29 PM UTC+5:30, Abhilash Sathe wrote: > > navigator.geolocation.getCurrentPosition(function(position) { > lat = position.coords.latitude, > ln