Open mahmoudkm opened 8 years ago
Update: Removing version constrain from the pauloborges:mapbox as shown below removed the Uncaught ReferenceError error, yet I still get
TypeError: mapboxgl.Directions is not a function
on the line
map.addControl(new mapboxgl.Directions());
any thoughts? Thanks
Removing version constraint:
Was using pauloborges:mapbox@2.2.3_2
now
pauloborges:mapbox
I am trying to load Mapbox GL with directions plugin support as shown below, yet I am always getting following errors. Also code I am using shown below. Thanks
Line 112 in app.js contains
map.addControl(new mapboxgl.Directions());