{ "id": "150500", "key": "AC-306", "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": "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": "2015-11-12T11:50:00.000+0000", "created": "2015-08-18T20:29:27.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-12T11:50:00.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "Ti.Map module not is not rendering leftView correctly. Instead a bubble with blank white space is created where leftView should be. Tested on:\r\n\r\nIPhone 6 v8.3\r\nAppcelerator SDK 4.1.1v20150816214206 & SDK v4.1.0 GA\r\nTi.Map v2.3.3\r\n\r\nSome sample code: \r\n\r\nvar mapview = Map.createView({mapType:Map.NORMAL_TYPE});\r\n$.mapView.add(mapview); //assumes there is a container called mapView present\r\n\r\nvar testView = Titanium.UI.createView({\r\n\theight: Ti.UI.SIZE,\r\n\twidth: 120,\r\n\tlayout: \"horizontal\",\r\n\tbackgroundColor: \"#000\"\r\n});\r\nvar testImg = Ti.UI.createImageView({\r\n\twidth: 40,\r\n\theight: 30,\r\n\timage: \"/images/map/open.png\"\r\n});\r\nvar testLbl = Titanium.UI.createLabel({\r\n\theight: Ti.UI.SIZE,\r\n\twidth: 100,\r\n\ttext: \"lalala\",\r\n\tleft: 10,\r\n\tcolor: \"#000\",\r\n\tfont:{\r\n\t\tfontSize: 16,\r\n\t\tfontWeight: \"bold\"\r\n\t},\r\n\tbackgroundColor:\"#f00\"\r\n});\r\n\r\ntestView.add(testImg);\r\ntestView.add(testLbl);\r\n\r\nvar ann = Map.createAnnotation({\r\n\tlatitude:75,\r\n\tlongitude: 75,\r\n\ttitle:\"test\",\r\n\tleftView: testView,\r\n\tanimate:true\r\n});\r\n\r\nmapview.addAnnotation(ann);", "attachment": [], "flagged": false, "summary": "Ti.Map not rendering leftView on IOS", "creator": { "name": "nradaev", "key": "nradaev", "displayName": "Nikita Radaev", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nradaev", "key": "nradaev", "displayName": "Nikita Radaev", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "IOS 8.3", "comment": { "comments": [ { "id": "370072", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe couldn't reproduce this issue as a bug in our environment. leftView rendered properly using Ti.Map module.\r\n\r\n[Screenshot|http://postimg.org/image/flw6wcx41/]\r\n\r\n*Testing Environment:*\r\nAppcelerator Command-Line Interface, version 5.0.4\r\nAppcelerator Studio, build: 4.3.3.201510212245\r\nTi SDK Version :5.0.2.GA\r\nNode.js Version :0.10.37\r\nMac OS X,Version :10.10.1\r\nJdk version : 1.7.0_80.jdk\r\nsimulator : iPhone 6(8.2)\r\n\r\n*Steps to test:*\r\n1. Create a classic project\r\n2. Replace app.js with the following test code\r\n3. Create an images folder inside Resource directory\r\n4. Place an image inside images folder, rename the image to left.png\r\n5. Run the app\r\n\r\n*Test Case:*\r\n{code}\r\nvar Map = require('ti.map');\r\nvar win = Ti.UI.createWindow();\r\nvar mapview = Map.createView({\r\n\tmapType : Map.NORMAL_TYPE\r\n});\r\nwin.add(mapview);\r\nvar testView = Titanium.UI.createView({\r\n\theight : Ti.UI.SIZE,\r\n\twidth : 120,\r\n\tlayout : \"horizontal\",\r\n\t//backgroundColor : \"#000\"\r\n});\r\nwin.add(testView);\r\nvar testImg = Ti.UI.createImageView({\r\n\twidth : 40,\r\n\theight : 30,\r\n\timage : \"images/left.png\"\r\n});\r\nvar testLbl = Titanium.UI.createLabel({\r\n\theight : Ti.UI.SIZE,\r\n\twidth : 100,\r\n\ttext : \"Bangladesh\",\r\n\tleft : 10,\r\n\tcolor : \"#000\",\r\n\tfont : {\r\n\t\tfontSize : 16,\r\n\t\tfontWeight : \"bold\"\r\n\t},\r\n\t//backgroundColor : \"#f00\"\r\n});\r\ntestView.add(testImg);\r\ntestView.add(testLbl);\r\nvar ann = Map.createAnnotation({\r\n\tlatitude : 75,\r\n\tlongitude : 75,\r\n\ttitle : \"test\",\r\n\tleftView : testView,\r\n\tanimate : true\r\n});\r\nmapview.addAnnotation(ann);\r\nwin.open();\r\n{code}\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-11-12T10:08:57.000+0000", "updated": "2015-11-12T11:49:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }