-
Notifications
You must be signed in to change notification settings - Fork 189
Polyline & Polygon support #61
Conversation
LJaraCastillo
commented
Jun 12, 2018
- Polyline support
- Polyline tap event support
- Polygon support
- Hole support for polygons
- Polygon tap event support
- Updated gradle dependencies
- Updated example
- Added examples of polylines and polygons in README.md
* Polyline support * Polyline tap event support * Polygon support * Hole support for polygons * Polygon tap event support * Updated gradle dependencies * Updated example * Added examples of polylines and polygons in README.md
You are awesome! |
For now it works well and i don't have the need to modify it yet. Maybe could exist an attribute to hide it so the map could be shown fullscreen. |
@LJaraCastillo Thanks for the PR. I've been pretty overwhelmed with work lately but I plan on catching up on PRs this weekend and getting a new version out. |
@matthewtsmith No problem, keep up the good work. |
@LJaraCastillo is it too much work to also include encoded polylines? |
@diogoribeiro23 hmmm i don't know exactly how that works. Could you explain me what exactly do you need about the encoding? |
@LJaraCastillo this: |
maybe it is easier to do it outside the plugin? |
Let me see if i understand. You want to use the plugin (Flutter side) and add this string encoded points instead of the traditional points and decoded it on Kotlin to show it on the map? |
i want it to be able to receive that string with the encoded points so it can decode it and show them on the map. |
it should be the same method as adding a single polyline, but if it receives a string instead of a list it runs the decode function before anything else. |
I understand, is not hard. I will make some time to work on this on my free time, most probably the next week. |
Thank you so much! :D |
Hello again @LJaraCastillo! Just noticed that in this merge, in Android when u have a polyline and you call zoomtofit() it counts the polyline as a 'marker' to fit, but in iOS this doesn't happen. Could you take a look at that? |