Skip to content

Commit

Permalink
[GLJS-647] Fixed displaying of waypoints on the route (#310)
Browse files Browse the repository at this point in the history
* Added support of Mapbox GLJS v3
* Fixed broken tests
  • Loading branch information
underoot authored Jan 16, 2024
1 parent b5a67f3 commit 15d305d
Show file tree
Hide file tree
Showing 18 changed files with 329 additions and 14,512 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ var directions = new MapboxDirections({
});

var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/mapbox/streets-v12'
container: 'map'
});

map.addControl(directions, 'top-left');
Expand Down
1 change: 0 additions & 1 deletion example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ mapDiv.style = 'position:absolute;top:0;right:0;left:0;bottom:0;';
var map = window.map = new mapboxgl.Map({
hash: true,
container: mapDiv,
style: 'mapbox://styles/mapbox/streets-v12',
center: [-79.4512, 43.6568],
zoom: 13
});
Expand Down
Loading

0 comments on commit 15d305d

Please sign in to comment.