[TIMOB-2898] route disappears when zooming in
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-08-29T09:52:10.000+0000 |
Affected Version/s | Release 1.6.0 |
Fix Version/s | Sprint 2011-34, Release 1.8.0 |
Components | iOS |
Labels | n/a |
Reporter | Pedro Enrique |
Assignee | Reggie Seagraves |
Created | 2011-04-15T03:32:24.000+0000 |
Updated | 2011-09-23T13:04:58.000+0000 |
Description
- In the continuous build 1.6.0 (Jan 19), as well as 1.5.2 version, the map-route disappears in KitchenSink.
- In version 1.5.0 this problem does not occur.
I've only checked iOS
SDK 4.2 only
I confirm I experience this problem also.
SDK 4.2
Tianium 1.5.2
Tested on Kitchen Sink running 1.6.2 (Apr 18 2011 14:44 r878906de) and iPhone Simulator 4.3 When zooming to max level, the route disappears, but reappears when zooming back out. Helpdesk ticket: http://support.appcelerator.com/tickets/APP-997833/homepage
Kitchen Sink, and my own app with 1.6.2 this happens. Rather unexpected. 1.5.1 also broken, both with SDK 4.3 I attempted to go a far back as 1.4.0, but then with 4.3 it wouldn't even start.
Problem also described in: * [Q&A: Map Route disappears when zoomed in](http://developer.appcelerator.com/question/106081/map-route-disappears-when-zoomed-in) * [APP-997833: Map Route disappears when zoomed in](http://support.appcelerator.com/tickets/APP-997833/homepage) A pity this bug is open for such a long time.
No, it's not "a pity". It's a major pain in the ass and it sucks badly... It really sucks that nobody takes care of it. Even though Titanium mobile is a great tool I sometimes doubt if it's worth the money
It seems that the problem is located in TiMapRouteAnnotationView.m within the: -(void) regionChanged method origin = [mapView convertPoint:origin toView:self]; // on certain zoom-level it returns huge coordinates, on each double tap it increases about by 500 pixels, if you reach this "certain zoom-level" it jums to values about million which seems definitely wrong and your route is out-of-view
Removed the 1.8.0 fixVersion. Code has not been merged.
Process pull request.
Verified fixed with SDK 1.8.0.v20110922234950, iPhone 4 verizon (4.2.10), and iPod touch 3rd gen (4.0.2)