-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
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
Use new mapboxgl Control system #94
Comments
cc @mollymerp @mapsam @mapbox/appbox does anyone want to potentially hop on this one? And does anyone want to join the general effort of keeping our constellation of mapbox-gl plugins up to date and stable? |
@tmcw Do you think it makes sense to delegate maintainers for particular plugins? I can take one. |
I think that's a capital idea. I think GitHub has some rumored system where each project has the 'responsible party' or something. Right now we have three plugins:
|
Indeed. Happy to jump on one of these @tmcw. gl-draw is interesting to me, though I know nothing about it. |
@tmcw I'm happy to take on mapbox-gl-directions, but might not be able to do so right away. How urgent should I consider this? |
It's unfortunately rather urgent. If you don't have bandwidth for this immediately, I can try to do a super minimal refactor that just gets it working again and leave the more interesting bits as for the future. |
@tmcw My top priority right now is finishing up the style form refactor; so, yeah, if you'd like to jump in sooner, that would great. I'll start familiarizing myself with this plugin after that. |
@mapsam want to grab this? So the gist is:
|
@tmcw making progress here, but stuck on one thing. The access token makes its way into the directions api calls, but I'm not sure how to give the access token to the geocoder. Any clues? |
Nvm I wasn't navigating into the |
In the new Geocoder control, you provide an accesstoken to the control. Slightly less convenient but more direct than grabbing from mapboxgl.accessToken as a global. |
mapbox/mapbox-gl-js#3497
The new IControl interface will allow mapbox-gl-directions to remove any dependency on mapboxgl, eliminating a popular class of installation bugs. Once mapboxgl is updated, or before if you're feeling saucy, update to the new interface.
The text was updated successfully, but these errors were encountered: