Skip to content

Rework location layer abstraction - #196

Merged
tobrun merged 3 commits into
masterfrom
tvn-rework-location-layer
Dec 6, 2017
Merged

tobrun merged 3 commits into
masterfrom
tvn-rework-location-layer

Conversation

@tobrun

@tobrun tobrun commented Dec 2, 2017

Copy link
Copy Markdown
Member

Refs #149

@tobrun tobrun added the location-layer-plugin Issues that deal with the location layer module label Dec 2, 2017
@tobrun tobrun self-assigned this Dec 2, 2017
@tobrun
tobrun requested a review from cammace December 2, 2017 08:46
@tobrun tobrun added this to the location-layer-0.3.0 milestone Dec 2, 2017

float accuracyAlpha = typedArray.getFloat(R.styleable.LocationLayer_accuracyAlpha, 0.15f);
if (accuracyAlpha < 0 || accuracyAlpha > 1) {
throw new RuntimeException("Location layer accuracy alpha value must be between 0.0 and 1.0.");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be more specific here with IllegalArgumentException

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not really change anything to that code block, was copied from previous implementation. Seeing that you are already addressing it in https://github.com/mapbox/mapbox-plugins-android/pull/186/files#diff-6b76d34c67041b321a2ce642ab12a240R75, I think we can ignore this for now?

@tobrun
tobrun force-pushed the tvn-rework-location-layer branch from e7d2dc1 to 020512d Compare December 6, 2017 15:48
@tobrun
tobrun merged commit 7451123 into master Dec 6, 2017
@tobrun
tobrun deleted the tvn-rework-location-layer branch December 6, 2017 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

location-layer-plugin Issues that deal with the location layer module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants