{ "id": "61874", "key": "TIMOB-1242", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13405", "description": "Sprint 2012-09 API", "name": "Sprint 2012-09 API", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-23T12:18:33.000+0000", "created": "2011-04-15T02:47:30.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "dr-list", "qe-testadded" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "16816", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "90756", "key": "TIMOB-8861", "fields": { "summary": "Android: Maps V2 module - 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 } } } }, { "id": "16817", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "90758", "key": "TIDOC-583", "fields": { "summary": "Document new IOS feature 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": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "16815", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "90757", "key": "TIMOB-8862", "fields": { "summary": "MobileWeb: 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": "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": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-07T11:38:06.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": "{html}

MKAnnotationView has support for allowing a map annotation to be\r\ndraggable (in iOS 4).
\r\nBoolean property on Annotation object - draggable:true/false
\r\nAdd associated Events - e.g. DragStart & DragEnd etc.

{html}", "attachment": [], "flagged": false, "summary": "iOS: Drag and drop map pin annotations", "creator": { "name": "rogerchapman", "key": "rogerchapman", "displayName": "Roger Chapman", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rogerchapman", "key": "rogerchapman", "displayName": "Roger Chapman", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125150", "author": { "name": "yury", "key": "yury", "displayName": "yury", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

blocking feature

{html}", "updateAuthor": { "name": "yury", "key": "yury", "displayName": "yury", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:47:31.000+0000", "updated": "2011-04-15T02:47:31.000+0000" }, { "id": "125151", "author": { "name": "yury", "key": "yury", "displayName": "yury", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Fix in pull request https://github.com/appcelerator/titanium_mobile/pull/53
\nCurrently iOS >= 4.0 only.

{html}", "updateAuthor": { "name": "yury", "key": "yury", "displayName": "yury", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:47:31.000+0000", "updated": "2011-04-15T02:47:31.000+0000" }, { "id": "125152", "author": { "name": "examp", "key": "examp", "displayName": "examp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Is this confirmed to work? I just tested it and the demo does\nnot work in simulator or iphone 4 OS4.3. SDK 4.2, Titanium 1.6

{html}", "updateAuthor": { "name": "examp", "key": "examp", "displayName": "examp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:47:31.000+0000", "updated": "2011-04-15T02:47:31.000+0000" }, { "id": "125153", "author": { "name": "borming", "key": "borming", "displayName": "Borming", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Works in 1.6.0 with yury fix, but not in 1.6.1

\n

Any news on this feature, our project depends on it.

{html}", "updateAuthor": { "name": "borming", "key": "borming", "displayName": "Borming", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:47:32.000+0000", "updated": "2011-04-15T02:47:32.000+0000" }, { "id": "159645", "author": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "body": "wondering what it is going to take to get some movement on this issue", "updateAuthor": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "created": "2011-07-15T00:09:36.000+0000", "updated": "2011-07-15T00:09:36.000+0000" }, { "id": "162697", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h3. Associated Helpdesk ticket\r\nhttp://support-admin.appcelerator.com/display/10619", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-12T13:26:10.000+0000", "updated": "2011-08-12T13:26:10.000+0000" }, { "id": "174551", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Reassigning this ticket with several watchers, due to Reggie's absence.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-02T05:49:22.000+0000", "updated": "2011-12-02T05:49:22.000+0000" }, { "id": "179551", "author": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "body": "Community pull request is https://github.com/appcelerator/titanium_mobile/pull/1193\r\n\r\nAs of today still needs:\r\n- Code review\r\n- docs\r\n- tests", "updateAuthor": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "created": "2012-01-17T07:32:31.000+0000", "updated": "2012-01-17T07:32:31.000+0000" }, { "id": "181053", "author": { "name": "fsniper", "key": "fsniper", "displayName": "Onur YALAZI", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've written android drag/drop annotation support on github. But I think it's still buggy and colliding with onTap events. Could anybody review the code and give ideas to work out it's problems? \r\n\r\nthe diff is at: https://github.com/fsniper/titanium_mobile/commit/a29b1c858161ff54d9aaad10c0c90a7bb1ff653e", "updateAuthor": { "name": "fsniper", "key": "fsniper", "displayName": "Onur YALAZI", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-30T08:33:26.000+0000", "updated": "2012-01-30T08:33:26.000+0000" }, { "id": "181952", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2012-02-06T06:36:21.000+0000", "updated": "2012-02-06T06:36:21.000+0000" }, { "id": "182697", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I made this pull request: https://github.com/appcelerator/titanium_mobile/pull/1193\r\n\r\nWhy didn't was accepted yet? :-(", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-02-09T17:02:28.000+0000", "updated": "2012-02-09T17:02:28.000+0000" }, { "id": "182699", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This pull request has been scheduled to be reviewed in next 2 weeks.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T17:15:49.000+0000", "updated": "2012-02-09T17:15:49.000+0000" }, { "id": "182723", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Nice, thanks Neeraj! :-)", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-02-10T04:23:40.000+0000", "updated": "2012-02-10T04:23:40.000+0000" }, { "id": "182724", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Just one observation: Since I made that pull request, some files were changed (TiMapView.h, for example). But, if you put my different lines in the new file, will work fine.", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-02-10T04:29:00.000+0000", "updated": "2012-02-10T04:29:00.000+0000" }, { "id": "183133", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Estimated effort includes defining and implementing the same behavior on both iOS and Android platforms.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-14T16:34:34.000+0000", "updated": "2012-02-14T16:34:34.000+0000" }, { "id": "183170", "author": { "name": "falk", "key": "falk", "displayName": "MAIRDUMONT GmbH & Co. KG", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Neeraj or Rafael,\r\n\r\na question to better understand this feature:\r\nWill one result of drag&dropping the map pin annotation be the geocode of the new location visualized by the pin?\r\nI imagine the annotation's properties latitude and longitude then will be updated so one can use them for let's say forward geocoding or so.", "updateAuthor": { "name": "falk", "key": "falk", "displayName": "MAIRDUMONT GmbH & Co. KG", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-15T02:44:02.000+0000", "updated": "2012-02-15T02:44:02.000+0000" }, { "id": "183184", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Hello MAIRDUMONT,\r\n\r\nYes, the latitude/longitude of annotation will be updated when the user drag&drop the annotation.\r\n\r\nThe user have to click in the annotation by 1 second and drop in another place. Then, the annotation will have the latitude/longitude from the other place. :-)", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-02-15T06:57:23.000+0000", "updated": "2012-02-15T06:57:23.000+0000" }, { "id": "184084", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Neeraj, is missing something to apply this PR?\r\n\r\nThanks,", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-02-23T12:08:25.000+0000", "updated": "2012-02-23T12:08:25.000+0000" }, { "id": "184094", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Rafael - we are a little behind processing these pull requests. We hope to get to your pull request in a week or so.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-23T12:52:41.000+0000", "updated": "2012-02-23T12:52:41.000+0000" }, { "id": "185773", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This PR only covers iOS functionality so we need to design and implement the same functionality for Android and Mobile Web platforms. We will process this PR once we scope it out for all platforms.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-09T10:40:10.000+0000", "updated": "2012-03-09T10:40:10.000+0000" }, { "id": "186401", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "I made a new pull request to it.\r\n\r\nLink: https://github.com/appcelerator/titanium_mobile/pull/1670", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-03-14T07:58:04.000+0000", "updated": "2012-03-14T07:58:04.000+0000" }, { "id": "191491", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Code\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({});\r\n\r\nvar mountainView = Titanium.Map.createAnnotation({\r\n latitude:37.390749,\r\n longitude:-122.081651,\r\n title:\"Appcelerator Headquarters\",\r\n subtitle:'Mountain View, CA',\r\n pincolor:Titanium.Map.ANNOTATION_RED,\r\n animate:true,\r\n draggable:true,\r\n leftButton: '../images/appcelerator_small.png',\r\n myid:1 // Custom property to uniquely identify this annotation.\r\n});\r\n \r\nvar mapview = Titanium.Map.createView({\r\n mapType: Titanium.Map.STANDARD_TYPE,\r\n region: {latitude:37.39, longitude:-122.08, \r\n latitudeDelta:0.01, longitudeDelta:0.01},\r\n animate:true,\r\n regionFit:true,\r\n userLocation:true,\r\n annotations:[mountainView]\r\n});\r\n \r\nwin.add(mapview);\r\n\r\nmapview.addEventListener('pinchangedragstate', function(evt) {\r\n \r\n Ti.API.info(\"Annotation \" + evt.title + \" clicked, id: \" + evt.annotation.myid+\" Old State \"+evt.oldState+\" New State \"+evt.newState);\r\n});\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T16:15:11.000+0000", "updated": "2012-04-17T16:15:11.000+0000" }, { "id": "191838", "author": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "The code was accepted: https://github.com/appcelerator/titanium_mobile/pull/1670.\r\n\r\nCan this feature enter in the SDK 2.0?", "updateAuthor": { "name": "rafaelks", "key": "rafaelks", "displayName": "Rafael Kellermann Streit", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-04-19T10:35:03.000+0000", "updated": "2012-04-19T10:35:03.000+0000" }, { "id": "192275", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged for IOS. Tickets created for Android, MobileWeb and documentation", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-23T12:18:33.000+0000", "updated": "2012-04-23T12:18:33.000+0000" }, { "id": "197724", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 2.1.0.v20120606162652 on iPod 3rd gen 4.0.2 and iPad Sim 5.0", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-07T11:38:06.000+0000", "updated": "2012-06-07T11:38:06.000+0000" } ], "maxResults": 26, "total": 26, "startAt": 0 } } }