{ "id": "139035", "key": "TIMOB-17953", "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": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-04-20T01:05:37.000+0000", "created": "2014-11-04T00:36:09.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "supportTeam" ], "versions": [], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-07-07T18:42:25.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": "h3. Issue \r\n\r\nWhen customer creates map annotations and one of them is left without declaring left or right button the buttons are shown when the annotation si clicked, this only happens when the app is deployed with Ti SDK 3.4.0 and iOS device version 7.0.3/7.0.4.\r\n\r\nh3. Steps to repro\r\n\r\n1. run test code\r\n2. Click on the green annotation\r\n\r\nExpected Result\r\nThe green annotation will not show any button (left or right)\r\n\r\nActual Result \r\nThe green annotation show both buttons \r\n\r\nh3. Test Code\r\n\r\n{code}\r\nvar Map = require('ti.map');\r\n\r\nvar ary = [];\r\n\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'#fff',\r\n});\r\n\r\nfor(i=0;i<5;i++){ \r\n\tvar an1 = Map.createAnnotation({ \r\n\tlatitude : 37.775202, \r\n\tlongitude : -122.41924+(0.00005*i), \r\n\tleftButton : 'red_x.png', \r\n\trightButton : 'tick_64.png', \r\n\tpincolor : Map.ANNOTATION_RED, \r\n\ttitle : \"Sydney\", \r\n\tsubtitle : \"Sydney is quite chill\",\t\r\n\tanimate : true, \r\n\tannID : 1, \r\n\tannIDCount : [1, 2] \r\n}); \r\nary.push(an1);\t\r\n} \r\nvar ann2 = Map.createAnnotation({ \r\n\tanimate : true, \r\n\tlatitude : 37.7749295, \r\n\tpincolor : Map.ANNOTATION_GREEN, \r\n\tlongitude : -122.4194155, \r\n\ttitle : \"Anno2\", \r\n\tsubtitle : \"This is anno2\", \r\n}); \r\n\r\nary.push(ann2); \r\n\r\nvar map = Map.createView({ \r\n\tuserLocation : false, \r\n\tmapType : Map.NORMAL_TYPE, \r\n\tanimate : true, \r\n\tannotations : ary, \r\n\tregion : { \r\n\tlatitude : 37.7749295, \r\n\tlongitude : -122.4194155, \r\n\tlatitudeDelta : 0.1, \r\n\tlongitudeDelta : 0.1 \r\n\t}, //Sydney \r\n\ttop : 0 \r\n}); \r\n\r\nwin.add(map); \r\nwin.open();\r\n{code}\r\n\r\n", "attachment": [ { "id": "52899", "filename": "mapView.zip", "author": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-01T16:25:27.000+0000", "size": 63669, "mimeType": "application/zip" }, { "id": "53141", "filename": "Screen Shot 2014-12-09 at 3.46.22 PM.png", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2014-12-09T23:50:21.000+0000", "size": 304821, "mimeType": "image/png" }, { "id": "53142", "filename": "Screen Shot 2014-12-09 at 3.46.26 PM.png", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2014-12-09T23:50:21.000+0000", "size": 303328, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Map annotations show buttons event is not declared on iOS 7.0.X", "creator": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK: 3.4.0\r\niOS: 7.0.3, 7.0.4", "closedSprints": [ { "id": 371, "state": "closed", "name": "2015 Sprint 08 SDK", "startDate": "2015-04-11T00:00:49.626Z", "endDate": "2015-04-24T12:00:00.000Z", "completeDate": "2015-04-28T15:02:06.073Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "346023", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR Here: https://github.com/appcelerator-modules/ti.map/pull/84\r\nPre-release here: https://github.com/appcelerator-modules/ti.map/releases/tag/ios-2.2.2\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-16T02:26:29.000+0000", "updated": "2015-03-16T02:30:51.000+0000" }, { "id": "349697", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Merged... do we want to add this to titanium_mobile as well? [~ingo]", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-15T16:57:21.000+0000", "updated": "2015-04-15T16:57:21.000+0000" }, { "id": "349698", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, please. We can then mark it for 4.0 instead if we merge it to 4_0_X.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-15T17:00:18.000+0000", "updated": "2015-04-15T17:00:18.000+0000" }, { "id": "349778", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs to titanium_mobile merged. \r\nhttps://github.com/appcelerator/titanium_mobile/pull/6784\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6785\r\ntitanium.json updated.\r\nhttps://github.com/appcelerator/titanium_releases/blob/master/titanium.json\r\n[~jalter] feel free to resolve.\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-04-16T01:32:22.000+0000", "updated": "2015-04-16T01:32:22.000+0000" }, { "id": "357187", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that if I clicked on the green annotation, then both {{leftButton}} and {{rightButton}} does not appear.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 4.1.0.201507061821\r\nAppc CLI NPM: 4.1.0-1\r\nAppc CLI Core: 4.1.0-5\r\nSDK: 4.1.0.v20150706111546\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.4)\r\nXcode: 6.4\r\nDevices: iphone 6 plus (8.3), iphone 5c (7.0.3)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-07T18:42:02.000+0000", "updated": "2015-07-07T18:42:12.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }