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
Allows modifying http headers #977
Conversation
android/src/main/java/com/mapbox/mapboxgl/GlobalMethodHandler.java
Outdated
Show resolved
Hide resolved
make sure to run swift and java format (check ci) |
I just can't get past the Java code formatting. Android Studio > Code > Reformat Code. Is there anything else I should do? |
|
might be a good idea to add a make file to run format with one command (not here) |
if you want i can run the format an push it into the branch |
I will be pleased. I can't run the command you said. First I had a java version problem. Then when I ran the command I got the following error. Actually I formatted the code with google Formatter plugin but still couldn't solve it.
|
did the push in this case you could run the command like so:
|
Thanks. By the way, this command line is almost more than code I've committed :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit 04d7d14.
setHttpHeaders(<String,String> {"somehttpheaderkey":"somehttpheadervalue"});
You can use this method if you want to modify the http headers before tile requests are made. Like adding an authorization header to requests...