{ "id": "129943", "key": "TIMOB-16926", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-11-11T20:21:52.000+0000", "created": "2014-05-05T07:08:11.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [ { "id": "53467", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "154915", "key": "MOD-2201", "fields": { "summary": "iOS annotations with customView Disappears", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:49:30.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": "I need the red color pin and when i click on pin custom view should appear.\r\n\r\nvar cust_View = Titanium.UI.createView({\r\n\tbackgroundImage : '/popup.png',\r\n\twidth : 154,\r\n\theight : 126\r\n});\r\n\r\nvar anno = MapModule.createAnnotation({\r\n\tlatitude : -33.87365,\r\n\tlongitude : 151.20689,\r\n\t//image : '/van_green.png',\r\n\tpincolor : MapModule.ANNOTATION_RED,\r\n\t//customView : cust_View\r\n});\r\n\r\nI do like above \r\nso it shows the cust_View on Map location \r\nNo red pin at that Location \r\ni need both.", "attachment": [], "flagged": false, "summary": "iOS: Using customView Annotation property hides the map pin", "creator": { "name": "jay joshi", "key": "jay joshi", "displayName": "jayesh joshi", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "jay joshi", "key": "jay joshi", "displayName": "jayesh joshi", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "SDK:3.2.3.GA\r\nStudio: 3.2.3.201404181442\r\nDevice:iOS simulator - ios -7", "comment": { "comments": [ { "id": "303537", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please provide a complete runnable test case to investigate the issue further.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T20:09:46.000+0000", "updated": "2014-05-05T20:09:46.000+0000" }, { "id": "303606", "author": { "name": "jay joshi", "key": "jay joshi", "displayName": "jayesh joshi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "{code}\r\nvar MapModule = require('ti.map');\r\nvar ann_data = [];\r\nvar cust_View = Titanium.UI.createView({\r\n\tbackgroundImage : '/popup.png',\r\n\twidth : 154,\r\n\theight : 126\r\n});\r\nvar anno = MapModule.createAnnotation({\r\n\tlatitude : -33.87365,\r\n\tlongitude : 151.20689,\r\n\tpincolor : MapModule.ANNOTATION_RED,\r\n});\r\nvar anno2 = MapModule.createAnnotation({\r\n\tlatitude : -33.86365,\r\n\tlongitude : 151.21689,\r\n\tpincolor : MapModule.ANNOTATION_RED,\r\n});\r\nvar anno3 = MapModule.createAnnotation({\r\n\tlatitude : -33.85365,\r\n\tlongitude : 151.20689,\r\n\tpincolor : MapModule.ANNOTATION_RED,\r\n\tcustomView : cust_View\r\n});\r\n\r\nann_data.push(anno, anno2, anno3);\r\n\r\nvar map = MapModule.createView({\r\n\tenableZoomControls : false,\r\n\tmapType : MapModule.NORMAL_TYPE,\r\n\tanimate : true,\r\n\tannotations : ann_data,\r\n\tregion : {\r\n\t\tlatitude : -33.87365,\r\n\t\tlongitude : 151.20689,\r\n\t\tlatitudeDelta : 0.1,\r\n\t\tlongitudeDelta : 0.1\r\n\t}\r\n});\r\n\r\nwin = Ti.UI.createWindow();\r\nwin.add(map);\r\nwin.open();\r\n{code}\r\n\r\nanno3 only show the custome images that i given not show pin + images ... in Documentation it says if you give custom view it will not show pin image or pincolor ... but how ever i need both ... i know it's not bug can be future request but any help...", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-06T04:12:32.000+0000", "updated": "2014-05-07T05:35:49.000+0000" }, { "id": "303784", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce the issue with the provided test case. Setting customView property causes pin to disappear from the map. A typical use case is to show the pin and then custom view should be displayed when the pin is clicked but in this case pin is not drawn when the custom view is used.\r\n\r\nIt is perfectly legal to use pincolor and customView together as per documentation. Only exception is an image i.e. an image cannot be used for the pin when a customView is used but setting the pincolor together with customView is permissible.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T05:41:05.000+0000", "updated": "2014-05-07T05:41:05.000+0000" }, { "id": "400823", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as duplicate of MOD-2201, please follow that one, thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-11T20:21:52.000+0000", "updated": "2016-11-11T20:21:52.000+0000" }, { "id": "415505", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:49:30.000+0000", "updated": "2017-03-23T22:49:30.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }