{ "id": "174891", "key": "MOD-2595", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "172063", "key": "MOD-2450", "fields": { "summary": "Ti.Map: Allow annotation to be animated to new location", "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": "None", "id": "6" }, "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-06-08T06:27:05.000+0000", "created": "2020-04-07T12:05:04.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ashukla", "key": "ashukla", "displayName": "Anil Shukla", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-06-08T06:27:40.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": [], "description": "Ti.Map annotations should be allowed to animate. This brings better UX to the map.\r\n\r\nImplementation, based on Stackoverflow, seems simple enough: https://stackoverflow.com/questions/26015904/how-to-animate-mapview-annotations-from-one-location-to-another\r\n\r\non ios:\r\n\r\n-(void) animateAnnotation:(MyAnnotation*)annotation{\r\n [UIView animateWithDuration:2.0f\r\n animations:^{\r\n annotation.coordinate = newCordinates;\r\n }\r\n completion:nil];\r\n}\r\nhttps://stackoverflow.com/a/42057162/249710\r\non Android:\r\n\r\nLatLng fromLocation = new LatLng(38.5, -100.4); // Whatever origin coordinates\r\nLatLng toLocation = new LatLng(37.7, -107.7); // Whatever destination coordinates\r\nMarker marker = mMap.addMarker(new MarkerOptions().position(firstLocation));\r\nMarkerAnimation.animateMarkerToICS(marker, toLocation, new LatLngInterpolator.Spherical());\r\n", "attachment": [], "flagged": false, "summary": "iOS | Allow annotation to be animated to new location", "creator": { "name": "ssingh", "key": "ssingh", "displayName": "Satinder Pal Singh", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "ssingh", "key": "ssingh", "displayName": "Satinder Pal Singh", "active": true, "timeZone": "Asia/Kolkata" }, "environment": null, "closedSprints": [ { "id": 1201, "state": "closed", "name": "2020 Sprint 14", "startDate": "2020-07-06T15:40:00.000Z", "endDate": "2020-07-17T15:40:00.000Z", "completeDate": "2020-07-20T22:16:28.367Z", "originBoardId": 114 }, { "id": 1202, "state": "closed", "name": "2020 Sprint 15", "startDate": "2020-07-20T22:16:05.601Z", "endDate": "2020-07-31T22:16:00.000Z", "completeDate": "2020-08-03T20:27:12.585Z", "originBoardId": 114 }, { "id": 1203, "state": "closed", "name": "2020 Sprint 16", "startDate": "2020-08-03T20:57:55.114Z", "endDate": "2020-08-14T20:57:00.000Z", "completeDate": "2020-08-14T15:19:51.647Z", "originBoardId": 114 }, { "id": 1204, "state": "closed", "name": "2020 Sprint 17", "startDate": "2020-08-17T15:48:00.000Z", "endDate": "2020-08-28T15:48:00.000Z", "completeDate": "2020-08-31T15:36:28.040Z", "originBoardId": 114 }, { "id": 1205, "state": "closed", "name": "2020 Sprint 18", "startDate": "2020-08-31T15:45:10.220Z", "endDate": "2020-09-11T15:45:00.000Z", "completeDate": "2020-09-11T19:56:20.674Z", "originBoardId": 114 }, { "id": 1192, "state": "closed", "name": "2020 Sprint 8", "startDate": "2020-04-10T18:08:36.092Z", "endDate": "2020-04-24T18:08:00.000Z", "completeDate": "2020-04-24T16:23:30.466Z", "originBoardId": 114 }, { "id": 1194, "state": "closed", "name": "2020 Sprint 9", "startDate": "2020-04-24T17:09:51.572Z", "endDate": "2020-05-08T17:09:00.000Z", "completeDate": "2020-05-08T15:40:07.869Z", "originBoardId": 114 }, { "id": 1195, "state": "closed", "name": "2020 Sprint 10", "startDate": "2020-05-08T16:37:58.282Z", "endDate": "2020-05-22T16:37:00.000Z", "completeDate": "2020-05-21T15:26:11.089Z", "originBoardId": 114 }, { "id": 1196, "state": "closed", "name": "2020 Sprint 11", "startDate": "2020-05-26T15:56:00.000Z", "endDate": "2020-06-05T15:56:00.000Z", "completeDate": "2020-06-08T21:05:50.356Z", "originBoardId": 114 }, { "id": 1198, "state": "closed", "name": "2020 Sprint 12", "startDate": "2020-06-08T21:06:41.849Z", "endDate": "2020-06-19T21:06:00.000Z", "completeDate": "2020-06-19T15:54:38.493Z", "originBoardId": 114 }, { "id": 1199, "state": "closed", "name": "2020 Sprint 13", "startDate": "2020-06-19T16:41:04.099Z", "endDate": "2020-07-02T16:41:00.000Z", "completeDate": "2020-07-02T15:37:12.455Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "455631", "author": { "name": "ashukla", "key": "ashukla", "displayName": "Anil Shukla", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator-modules/ti.map/pull/293", "updateAuthor": { "name": "ashukla", "key": "ashukla", "displayName": "Anil Shukla", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-03T15:17:44.000+0000", "updated": "2020-06-03T15:17:44.000+0000" }, { "id": "455663", "author": { "name": "ssingh", "key": "ssingh", "displayName": "Satinder Pal Singh", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Validation will be included in the main task MOD-2450", "updateAuthor": { "name": "ssingh", "key": "ssingh", "displayName": "Satinder Pal Singh", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2020-06-08T06:27:40.000+0000", "updated": "2020-06-08T06:27:40.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }