{ "id": "63109", "key": "TIMOB-2477", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-26T12:01:26.000+0000", "created": "2011-04-15T03:20:50.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" } ], "issuelinks": [ { "id": "19361", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T22:04:56.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Mapview for iphone no longer will allow over 100 annotations.\r\nEither hard crash or annotations stop at 100.

\r\n
\r\n\r\nvar win = Titanium.UI.createWindow({  \r\n    title:'Annotation Test',\r\n    backgroundColor:'#fff'\r\n});\r\nwin.open();\r\n\r\n\r\nvar latPlus = 49;\r\nvar longPlus = -75;\r\n\r\nvar ans = [];\r\n\r\nfor (h=0;h<101;h++) {\r\n\r\n    ans[h] = Titanium.Map.createAnnotation({\r\n        latitude:latPlus + (h*0.001),\r\n        longitude:longPlus + (h*0.001),\r\n        title:h,\r\n        animate:true,\r\n        subtitle:'',\r\n        pincolor:Titanium.Map.ANNOTATION_RED,\r\n        myid:'note' + h\r\n    }); \r\n\r\n\r\n\r\n}\r\n\r\n\r\nvar mapview = Titanium.Map.createView({\r\n    mapType: Titanium.Map.STANDARD_TYPE,\r\n    region: {latitude:49, longitude:-75, latitudeDelta:1, longitudeDelta:1},\r\n    animate:false,\r\n    regionFit:true,\r\n    userLocation:false,\r\n    top:0,\r\n    left:0,\r\n    height:460,\r\n    width:320,\r\n    annotations:ans\r\n});\r\n\r\nwin.add(mapview);\r\n
{html}", "attachment": [], "flagged": false, "summary": "iOS: Mapview no longer allows over 100 annotations", "creator": { "name": "kevinripka", "key": "kevinripka", "displayName": "Kevin Ripka", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kevinripka", "key": "kevinripka", "displayName": "Kevin Ripka", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "209674", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce SDK 2.2.0.014b86f with iPhone Sim 5.1. Tested with up to 2000 annotations just to make sure.\r\n\r\nNote that adding so many annotations creates a very intense memory spike (up to 75MB) which is then immediately leveled out to about 7MB once rendering begins. The number of annotations is likely constrained by memory availability as it would be with any native app.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T12:01:26.000+0000", "updated": "2012-07-26T12:01:26.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }