Skip to content

Conversation

@LukasPaczos
Copy link
Contributor

Closes #530. I targeted this changes at v0.6.0, let me know if you'd rather see it as v0.5.4.
This PR also modifies LocationLayerMapChangeActivity to use internal LocationEngine.

@LukasPaczos LukasPaczos added the location-layer-plugin Issues that deal with the location layer module label May 29, 2018
@LukasPaczos LukasPaczos added this to the location-layer-0.6.0 milestone May 29, 2018
@LukasPaczos LukasPaczos requested a review from cammace May 29, 2018 12:10
Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

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

Looks great, will leave review for @cammace

<attr name="mapbox_minZoom" format="float"/>

<!-- Icon scale based on map zoom levels -->
<attr name="mapbox_maxZoomIconScale" format="float"/>
Copy link

Choose a reason for hiding this comment

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

These also need to be publically exposed in the public_attrs.xml file.


/**
* Sets the scale factor of the location icon when the map is zoomed in. Based on {@link #maxZoom()}.
* Scaling is linear.
Copy link

Choose a reason for hiding this comment

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

Maybe also worth mentioning the scaling is measured in pixels like the iconSize property docs mention

@LukasPaczos LukasPaczos force-pushed the 530-expose-scale-option branch from 9ed99f7 to 4a3aee3 Compare May 30, 2018 15:07
@LukasPaczos
Copy link
Contributor Author

Ready for another round @cammace.

Copy link

@cammace cammace left a comment

Choose a reason for hiding this comment

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

🙇

@LukasPaczos LukasPaczos merged commit 9c208bd into master May 30, 2018
@LukasPaczos LukasPaczos deleted the 530-expose-scale-option branch May 30, 2018 15:30
@danesfeder danesfeder mentioned this pull request Jul 9, 2018
11 tasks
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.

3 participants