{ "id": "93689", "key": "AC-2777", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-19T16:47:58.000+0000", "created": "2012-06-22T09:04:17.000+0000", "labels": [ "complete", "defect", "event", "ios", "loading", "mapview" ], "versions": [], "issuelinks": [], "assignee": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:41.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "The Complete or Loading events do not fire on Mapview. Hence no action can be taken apart from applying annotations. This seemed to be working in earlier versions of the SDK...\r\n\r\nPlease address this asap.\r\n\r\nh3. Example of working behaviour\r\n\r\n{code}\r\nvar win1 = Ti.UI.createWindow({\r\n\tbackgroundColor : '#fff',\r\n\texitOnClose : true,\r\n\tnavBarHidden : true,\r\n\t//layout : 'vertical'\r\n});\r\n\r\nvar viewbot = Ti.UI.createView({\r\n\r\n});\r\n\r\nwin1.add(viewbot);\r\n\r\nvar map1 = Ti.Map.createView({\r\n\tmapType : Ti.Map.STANDARD_TYPE,\r\n\tanimate : true,\r\n\tregion : {\r\n\t\tlatitude : 37.423156,\r\n\t\tlongitude : -122.084917,\r\n\t\tlatitudeDelta : 0.01,\r\n\t\tlongitudeDelta : 0.01\r\n\t},\r\n\tregionFit : true,\r\n\tannotations : [Ti.Map.createAnnotation({\r\n\t\tlatitude : 37.423156,\r\n\t\tlongitude : -122.084917,\r\n\t\timage : '/images/MapPin.png'\r\n\t})],\r\n\tuserLocation : true,\r\n\theight : Ti.UI.Fill\r\n});\r\nviewbot.add(map1);\r\n\r\nmap1.addEventListener('loading', function(e){\r\n\talert('loading');\r\n});\r\n\r\nmap1.addEventListener('complete', function(e){\r\n\talert('complete');\r\n});\r\n\r\n\r\n\r\nvar square1 = Ti.UI.createView({\r\n\theight : 20,\r\n\twidth : 20,\r\n\tbackgroundColor : 'red',\r\n\tbottom : 10,\r\n\tleft : 10,\r\n\t//zIndex: 1\r\n});\r\nviewbot.add(square1);\r\n\r\nwin1.open(); \r\n{code}", "attachment": [], "flagged": false, "summary": "Mapview Complete or Loading event do not fire on iOS in SDK 2.0.1GA2 and 2.0.2GA", "creator": { "name": "shekyboy", "key": "shekyboy", "displayName": "Abhishek Tiwari", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shekyboy", "key": "shekyboy", "displayName": "Abhishek Tiwari", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Using the iOS simulator", "comment": { "comments": [ { "id": "208562", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Both of these event listeners are working as seen in the test code provided. Closing this ticket as a result and marking invalid. ", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-19T16:47:38.000+0000", "updated": "2012-07-19T16:47:38.000+0000" }, { "id": "208822", "author": { "name": "shekyboy", "key": "shekyboy", "displayName": "Abhishek Tiwari", "active": true, "timeZone": "America/Los_Angeles" }, "body": "These still dont work on 2.0.1 and 2.0.2.\r\nI recently tried them on 2.1.0 and again they dont seem to be working.\r\n\r\n", "updateAuthor": { "name": "shekyboy", "key": "shekyboy", "displayName": "Abhishek Tiwari", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-22T12:39:16.000+0000", "updated": "2012-07-22T12:39:16.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }