Hi, I am having a lot of trouble on iOS and Android with a Google Map I added to my Meteor app, and I think that the main problem is the way I am getting the geolocation right now which is by using this:
Tracker.autorun(function () {
var geo = Geolocation.latLng();
Session.set('geo', geo);
});
and the mdg:geolocation pacakge (https://atmospherejs.com/mdg/geolocation) I would like to know what do you think would be the best way to get the current user location, maybe a waitOn on the route? Or how can I make a function to wait for the Session before Meteor renders the template? Thanks in advance!