-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
I'm trying to use this package in Meteor 1.3, yet I can't get it to work. Here is the code as I have it now:
Template.map.onRendered(function(){
Mapbox.load({
gl: true
})
this.autorun(function (){
if(Mapbox.loaded()){
L.mapbox.accessToken = 'MY_ACCESS_KEY'
var map = L.mapbox.map('map', 'mapbox://styles/mapbox/outdoors-v9')
}
})
})Since this package is made for Meteor 1.2, I don't seem to need an import statement for the package in this file since Mapbox is defined. Yet L isn't.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels