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

Move shape annotation click handling to core#10267

Merged
tobrun merged 1 commit into
release-aguafrom
10234-query-shape-annotations
Oct 30, 2017
Merged

Move shape annotation click handling to core#10267
tobrun merged 1 commit into
release-aguafrom
10234-query-shape-annotations

Conversation

@tobrun
Copy link
Copy Markdown
Member

@tobrun tobrun commented Oct 24, 2017

Closes #10234, refs #9984 and #9443.

This moves the logic as shown in #9984 to core.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Oct 24, 2017
@tobrun tobrun added this to the android-v5.2.0 milestone Oct 24, 2017
@tobrun tobrun self-assigned this Oct 24, 2017
Copy link
Copy Markdown
Contributor

@Guardiola31337 Guardiola31337 left a comment

Choose a reason for hiding this comment

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

Two minor details.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about extracting // convert Rectangle to be density dependant block of code into a private method?

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.

👍, instead of private, I moved it to NativeMapView and refactored similar code for DRY reasons.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here ☝️ when getting the list of shapeAnnotations.

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.

done

@tobrun tobrun force-pushed the 10234-query-shape-annotations branch from d787edf to c7a9108 Compare October 26, 2017 16:56
@tobrun tobrun merged commit 5893af7 into release-agua Oct 30, 2017
@tobrun tobrun deleted the 10234-query-shape-annotations branch October 30, 2017 16:34
This was referenced Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants