We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2169d24 commit 97b4238Copy full SHA for 97b4238
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-map-gl-directions",
3
- "version": "1.0.3",
+ "version": "1.0.4",
4
"description": "React wrapper for @mapbox/mapbox-gl-directions, for use with react-map-gl",
5
"source": "src/index.js",
6
"main": "dist/index.js",
src/index.js
@@ -168,7 +168,8 @@ class Directions extends PureComponent {
168
static defaultProps = {
169
position: 'top-right',
170
zoom: 16,
171
- profile: 'walking',
+ api: 'https://api.mapbox.com/directions/v5/',
172
+ profile: 'mapbox/driving-traffic',
173
onInit: () => {},
174
onClear: () => {},
175
onLoading: () => {},
0 commit comments