{ "id": "165456", "key": "MOD-2322", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "18919", "name": "Release 6.2.0", "archived": false, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-24T22:14:14.000+0000", "created": "2017-01-25T07:48:24.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "community", "ios" ], "versions": [], "issuelinks": [ { "id": "56272", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "116940", "key": "TIMOB-14494", "fields": { "summary": "iOS: Ti.Map should handle touch events on the view not just annotations", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:49:22.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": "13700", "name": "Map" } ], "description": "Tapping on a map to create points of interest seems like a fairly common use-case.\r\n\r\nThe current module explicitly states that the MapView click event is fired for annotations, shapes etc. and not the view itself.\r\n\r\nI have added a new mapclick event to the ios implementation in our branch of the module. \r\n\r\nWondering if someone can chime in with an android implementation?", "attachment": [], "flagged": false, "summary": "iOS/Android: Add mapclick event to MapView in Ti.Map Module", "creator": { "name": "nickkemp", "key": "nickkemp", "displayName": "Nick Kemp", "active": true, "timeZone": "Pacific/Auckland" }, "subtasks": [], "reporter": { "name": "nickkemp", "key": "nickkemp", "displayName": "Nick Kemp", "active": true, "timeZone": "Pacific/Auckland" }, "environment": null, "closedSprints": [ { "id": 896, "state": "closed", "name": "2017 Sprint 11 SDK", "startDate": "2017-05-22T02:41:17.888Z", "endDate": "2017-06-05T02:41:00.000Z", "completeDate": "2017-06-05T00:14:33.418Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "405259", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Interesting feature request, I'd agree to have this included. Can you do a PR on the ti.map module and link the PR here - together with a quick demo-code (single app.js) to demonstrate the behavior? Then we can help doing the docs and further adjustments. Thx! :-)\r\n\r\nMoving to MOD", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-25T09:52:59.000+0000", "updated": "2017-01-25T09:52:59.000+0000" }, { "id": "407448", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~nickkemp], Can you go ahead and create the PR and a demo code? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-02-20T19:44:19.000+0000", "updated": "2017-02-20T19:44:19.000+0000" }, { "id": "407452", "author": { "name": "nickkemp", "key": "nickkemp", "displayName": "Nick Kemp", "active": true, "timeZone": "Pacific/Auckland" }, "body": "[https://github.com/appcelerator-modules/ti.map/pull/198]\r\n{code:java}\r\nvar MapModule = require('ti.map');\r\nvar win = Ti.UI.createWindow({\r\n title: \"Ti.Map\",\r\n includeOpaqueBars: true,\r\n extendEdges: [Ti.UI.EXTEND_EDGE_ALL]\r\n});\r\n\r\nvar nav = Ti.UI.iOS.createNavigationWindow({\r\n window: win\r\n});\r\n\r\nvar mapView = MapModule.createView({\r\n userLocation: false,\r\n mapType: MapModule.NORMAL_TYPE,\r\n rotatesEnabled: true,\r\n animate: true,\r\n region: { \r\n latitude: -37.7870, \r\n longitude: 175.2793,\r\n latitudeDelta: 0.1,\r\n longitudeDelta: 0.1\r\n },\r\n // height: '50%',\r\n width: Ti.UI.FILL, \r\n});\r\nwin.add(mapView);\r\n\r\nfunction handlMapClick(e) {\r\n Ti.API.warn(\"\\\"mapclick\\\" event fired!\");\r\n Ti.API.warn(e);\r\n}\r\n\r\nmapView.addEventListener(\"mapclick\", handlMapClick);\r\n\r\nwin.add(mapView);\r\nnav.open();\r\n{code}", "updateAuthor": { "name": "nickkemp", "key": "nickkemp", "displayName": "Nick Kemp", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2017-02-20T20:59:14.000+0000", "updated": "2017-02-20T21:02:39.000+0000" }, { "id": "420369", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~nickkemp] I merged iOS, but forgot about Android. Can you provide the parity-PR for it?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-24T20:15:06.000+0000", "updated": "2017-05-24T20:15:06.000+0000" }, { "id": "420375", "author": { "name": "nickkemp", "key": "nickkemp", "displayName": "Nick Kemp", "active": true, "timeZone": "Pacific/Auckland" }, "body": "sorry don't have the tooling atm - on a totally different project - I've put a request out on TiSlack. Would be good to keep the momentum. Thanks Hans.", "updateAuthor": { "name": "nickkemp", "key": "nickkemp", "displayName": "Nick Kemp", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2017-05-24T20:55:57.000+0000", "updated": "2017-05-24T20:55:57.000+0000" }, { "id": "440134", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:22.000+0000", "updated": "2018-08-06T17:49:22.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }