{ "id": "109802", "key": "TIMOB-12763", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-07-13T18:36:46.000+0000", "created": "2013-02-15T23:30:10.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-13T18:36:46.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Run the below code on device. The returned clicksource is either [object Annotation] or null. Expect to see `pin`, `title` or `subtitle` instead of [object Annotation] as described in the Ti.Map.View click event: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Map.View-event-click\r\n\r\n{code}\r\nvar MapModule = require('ti.map');\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n \r\nvar appc = MapModule.createAnnotation({\r\n\tlatitude: 37.389569,\r\n\tlongitude: -122.050212,\r\n\ttitle: 'Appcelerator HQ',\r\n\tsubtitle: 'Mountain View, CA',\r\n\tpincolor: MapModule.ANNOTATION_GREEN,\r\n});\r\n\r\nvar mapview = MapModule.createView({\r\n mapType: MapModule.NORMAL_TYPE,\r\n region: {latitude: 37.389569, longitude: -122.050212, latitudeDelta: 0.2, longitudeDelta: 0.2},\r\n annotations: [appc]\r\n});\r\n\r\nfunction report (e) {\r\n\tTi.API.info(\"mapview click: \" + e.clicksource);\r\n};\r\n\r\nmapview.addEventListener('click', report);\r\n\r\nwin.add(mapview);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: clicksource not returned with click event on Google Maps v2 module", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X 10.7.5\r\nTitanium SDK version: 3.1.0 (02/11/13 17:10 68a0fef)\r\nti.map 2.0 module\r\nAndroid 4.2\r\nNexus 4", "comment": { "comments": [ { "id": "242432", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "an error is shown while running the test case\n\nlocation:[293,9]ti:/module.js\nmessage:Uncaught error:Requested module not found:ti.map\nsource:throw new error(\"Requested module not found:\"+request);\n\n\nTested with \nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nDevice: Samsung galaxy s duos Android version: 4.0.4\n\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-15T11:34:21.000+0000", "updated": "2013-03-15T11:34:21.000+0000" }, { "id": "424096", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-13T18:36:46.000+0000", "updated": "2017-07-13T18:36:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }