Skip to content
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

Add line annotations #33

Merged
merged 9 commits into from
Mar 28, 2019
Merged

Add line annotations #33

merged 9 commits into from
Mar 28, 2019

Conversation

yoavrofe
Copy link
Collaborator

@yoavrofe yoavrofe commented Mar 7, 2019

Some examples are still missing, as well as a line onClick event.

@tobrun tobrun added this to the 0.0.2 milestone Mar 9, 2019
@tobrun
Copy link
Collaborator

tobrun commented Mar 16, 2019

Re. annotation click handling and having support for more types, in the Circle PR, I'm using the base AnnotationClick to support this https://github.com/tobrun/flutter-mapbox-gl/pull/37/files#diff-5def2a7288f868311179d4a318f1183dR453

@yoavrofe
Copy link
Collaborator Author

Thanks, @tobrun ! I added onLineTapped. Can you please review?

@yoavrofe yoavrofe requested a review from tobrun March 24, 2019 12:31
Copy link
Collaborator

@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 good! :shipit: (example could be expanded a bit but let's revisit that later)

}
final List<?> data = toList(o);
List<LatLng> latLngList = new ArrayList<>();
data.forEach((element) -> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Call requires API level 24?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! I changed it to a for loop.

@tobrun tobrun modified the milestones: 0.0.2, v0.0.3 Mar 27, 2019
@yoavrofe yoavrofe merged commit d79044f into master Mar 28, 2019
SheaSmith pushed a commit to SheaSmith/flutter-mapbox-gl that referenced this pull request Sep 15, 2019
* Add line Annotations

* add line properties to examples

* Add onLineTapped

* change forEach to for

* fix error in merge

* fix methods order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants