Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Document that LocationComponentOptions.elevation(0) turns off the shadow. #14471

Conversation

zestyping
Copy link
Contributor

@zestyping zestyping commented Apr 22, 2019

LocationComponentOptions provides ways to set the foreground and background drawable, but no way to set the shadow drawable. The JavaDoc for LocationComponentOptions doesn't mention the word "shadow" at all, so it seems as though there is no way to turn off the shadow.

But it is possible to turn off the shadow by setting the elevation to zero. This PR just adds that explanation to the elevation() method.

@langsmith langsmith added Android Mapbox Maps SDK for Android documentation labels Apr 24, 2019
@LukasPaczos LukasPaczos added this to the release-n milestone Apr 24, 2019
@LukasPaczos
Copy link
Contributor

Thanks @zestyping, LGTM! Could you rebase on master to fix the failing tests?

@LukasPaczos LukasPaczos self-requested a review April 24, 2019 11:41
@LukasPaczos
Copy link
Contributor

I've rebased this PR in #14723, thanks again @zestyping!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants