{ "id": "90756", "key": "TIMOB-8861", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15274", "description": "2013 Sprint 06 API", "name": "2013 Sprint 06 API", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "15412", "name": "Co-3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-21T22:28:43.000+0000", "created": "2012-04-23T12:13:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_googlemapv2", "module_map", "parity", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "16816", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "61874", "key": "TIMOB-1242", "fields": { "summary": "iOS: Drag and drop map pin 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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-09T09:33:28.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": "iOS has the feature to drag and drop annotations on a MAP. Android needs similar functionality.", "attachment": [], "flagged": false, "summary": "Android: Maps V2 module - Drag and drop map pin annotations", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "202620", "author": { "name": "eventreporter", "key": "eventreporter", "displayName": "Mihai Lan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This would be a very useful feature for the Android phones!", "updateAuthor": { "name": "eventreporter", "key": "eventreporter", "displayName": "Mihai Lan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-11T03:22:11.000+0000", "updated": "2012-07-11T03:22:11.000+0000" }, { "id": "218611", "author": { "name": "mbelkin", "key": "mbelkin", "displayName": "Michael Belkin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any idea on when this will be completed? I'm working on an app that requires this and we can't begin until we have drag and drop functionality on both platforms...", "updateAuthor": { "name": "mbelkin", "key": "mbelkin", "displayName": "Michael Belkin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-12T01:07:16.000+0000", "updated": "2012-09-12T01:07:16.000+0000" }, { "id": "242476", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_modules/pull/92\nTest case:\n{code}\nvar MapModule = require('ti.map');\n\nvar win = Ti.UI.createWindow({fullscreen: false});\nvar anno = MapModule.createAnnotation({latitude: -33.87365, image: 'KS_nav_ui.png', longitude: 151.20689, title: \"Drag Me\", subtitle: \"Sydney is quite chill\", draggable: true});\nvar anno2 = MapModule.createAnnotation({latitude: -33.86365, pincolor: MapModule.ANNOTATION_BLUE, longitude: 151.21689, title: \"Drag Me 2\", subtitle: \"This is anno2\", draggable: true});\nvar anno3 = MapModule.createAnnotation({latitude: -33.85365, longitude: 151.20689, title: \"anno3\", subtitle: \"This is anno3\", draggable: false});\n\nvar map = MapModule.createView({\n\tuserLocation: true,\n\tmapType: MapModule.NORMAL_TYPE,\n\tanimate: true,\n\tannotations: [anno, anno2, anno3],\n\tregion: {latitude: -33.87365, longitude: 151.20689, latitudeDelta: 0.1, longitudeDelta: 0.1 }, //Sydney\n\ttop: '30%'\n});\n\nmap.addEventListener('pinchangedragstate', function(e) {\n\tTi.API.info(e.title + \": newState=\" + e.newState + \", lat=\" + e.annotation.latitude + \", lon=\" + e.annotation.longitude);\n});\n\nvar b = Ti.UI.createButton({\n\ttitle: \"Toggle draggable for anno3\",\n\ttop: 0\n});\nb.addEventListener('click', function(){\n\tanno3.draggable = !anno3.draggable;\n\tTi.API.info(\"anno3.draggable = \" + anno3.draggable);\n});\n\nwin.add(b);\nwin.add(map);\nwin.open();\n{code}\nFor FR:\n1. Run the above test case\n2. Drag the annotation \"Drag Me\" and \"Drag Me 2\" and check the log.\n3. Click the button to toggle the draggable property for anno3. Drag anno3 and check the log.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-15T18:02:12.000+0000", "updated": "2013-03-15T18:02:12.000+0000" }, { "id": "265703", "author": { "name": "dharmik", "key": "dharmik", "displayName": "Dharmik Patel", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Thats not working on Titanium SDK 3.1.0.GA and 3.1.1.GA.", "updateAuthor": { "name": "dharmik", "key": "dharmik", "displayName": "Dharmik Patel", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-08-09T09:33:28.000+0000", "updated": "2013-08-09T09:33:28.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }