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 support for polylines and polygon #9
Comments
Added either circle support and on click events (for polygon & polyline) |
Would be really great if this made it in to the main repository... |
@muka We'd be happy to review this if you could do three things:
Thanks! |
Dear @ingo 1 Sorry, I don't see the reason to sign a document for a small contribution like this, could you explain me why I should sign? Thanks! |
@ingo - We can get this finished up in a few days from the Sitata fork. We've been testing polygons in particular pretty extensively, with the "old" google play services and the new. It's pretty much good to go. @muka - thanks for reminding me about this. Were you able to clean up the android stuff a bit more? I will be happy to pull in your changes and formally submit this. |
Hi @astjohn |
👍 |
@mikedias - We currently have a branch that you might want to check out that is more or less in stable condition. https://github.com/Sitata/ti.map/tree/drawing_longpress_fix_ios This branch add drawing support, but also:
I did notice that with 3.5.0.GA, @muka's click additions to shapes on Android no longer works. He's aware and working on a fix. Then I think we'll be ready to pull this into appcelerator if they accept it. |
Hi @astjohn, thank you for the tip! I hope to see this branch in the official releases soon! |
@astjohn all good from my side! For some obscure reasons using JSON.stringify / console.log to serialize the event object from the click callback seems to freeze the execution context (probably due to some kind of recursion?) master branch in https://github.com/muka/ti.map is up to date |
@muka Works nicely :) |
@muka, Thanks. Will be submitting now. Sorry it took me so long to finally wrap this up. |
Hi,
I've added support for polylines and polygon in my fork
https://github.com/muka/ti.map/tree/master/android/src/ti/map
Hope could be merged in the main repository.
Regards
The text was updated successfully, but these errors were encountered: