Closed dagatsoin closed 9 years ago
Hi, I tried to use meteor-mapbox with urigo:angular-meteor plugin. But I am stuck at the beginning. I have put this in server/startup folder.
Meteor.startup(function(){ Mapbox.load(); });
But I get the error in the terminal ReferenceError: Mapbox is not defined (NB : The plugin is already added.)
ReferenceError: Mapbox is not defined
Have you an idea on this ?
Hi! You have to call Mapbox.load() from your client code, not from the server.
Mapbox.load()
facepalm thx :+1:
Hi, I tried to use meteor-mapbox with urigo:angular-meteor plugin. But I am stuck at the beginning. I have put this in server/startup folder.
But I get the error in the terminal
ReferenceError: Mapbox is not defined
(NB : The plugin is already added.)Have you an idea on this ?