GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-12-02T14:29:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.1.0 |
Components | Map |
Labels | annotation, mapView, modules, qe-6.1.0, ti.map |
Reporter | Brian García |
Assignee | Vijay Singh |
Created | 2016-02-14T13:39:26.000+0000 |
Updated | 2017-01-03T19:28:51.000+0000 |
Annotations with customView set disappears when zoom in and out several times.
The app.js reproduces the issue with 10 numbered annotations, just zoom in and out.
[~bgarcia] Does this problem occur on iOS or Android (or both?). Thank you!
Hello, I tried to reproduce the issue with the example code provided. Annotations with customView is working as expected. I am using SDK 5.1.2.GA and ti.map module version 2.3.4. I am testing on Nexus 7, Android 6.0.1. I have done zoom out and zoom in multiple times in the mapview the annotations are present.
Sorry! it's an iOS bug.
[~sdarda] Can you please test some older versions to see which version broke it? Thanks!
As a workaround: Use
return image.toImage()
and the annotation'simage
property which works well. The issue appears in all versions for over a year, so we need to backtrack that further.Hi guys, I got email to Jira Admin. That Reporter (Brian) Can not reach this ticker anymore. {quote} From: brian.ciavez13@gmail.com I've noticed that an issue reported by me has dissapeared from board. The issue was:TC-5860 iOS annotations with customView Disappears. thank you, Brian {quote}
Probably you should set Security Level to open, not internal. Stricted comments are conspired enough as for me.
Any update on this? thanks,
PR : https://github.com/appcelerator-modules/ti.map/pull/187
I have made identifier of custom view nil. So it will always create new annotation rather using the annotation from dqueue . This will solve the actual problem. But ideally we should use the reusable identifier for getting the annotation . This can cause a little bit lag in creating in annotation. As I tested from my side , it is not measurable . Though I have put comment to correct the same in code as "TO DO" . We can create a ticket with low priority for fixing the same . [~hansknoechel] [~cng] Let me know your views.
[~hans123] Please check following PR for proper fix - https://github.com/appcelerator-modules/ti.map/pull/190
PR approved and merged, great work! The ti.map iOS version 2.8.1 and later includes the fix and will be pre-packaged in SDK 6.1.0 as well as already on the [Github Release Page](https://github.com/appcelerator-modules/ti.map/releases/tag/iOS-2.8.1).
Verified as fixed, using the latest 6.1.0 SDK build and Ti.Map module v2.8.2, the annotations no longer disappear when zooming in and out several times. Tested On: iPhone 6 Plus 10.2 Device & Simulator Ti.Map (2.8.2) Mac OS Sierra (10.12.2) Ti SDK:6.1.0.v20170101113815 Appc Studio: 4.8.0.201611121409 Appc NPM: 4.2.8 App CLI: 6.1.0-319 Xcode 8.2.1 Node v4.4.7 *Closing ticket.*