We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Also, In addition to that change, a passed container option should look like this:
Current:
new mapboxgl.Directions(document.getElementById('map'));
Proposed:
new mapboxgl.Directions({ container: 'map' });
This follows the same convention as mapbox-gl-js
The text was updated successfully, but these errors were encountered:
Follow options.container pattern in mapbox-gl-js
options.container
976af6a
If `options.container` is not present, use map.getContainer instead. Ref #30
No branches or pull requests
Also, In addition to that change, a passed container option should look like this:
Current:
Proposed:
This follows the same convention as mapbox-gl-js
The text was updated successfully, but these errors were encountered: