{ "id": "63905", "key": "TIMOB-3273", "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": "11257", "description": "", "name": "Sprint-2011-09", "archived": true, "released": true, "releaseDate": "2011-03-07" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-04-15T03:41:03.000+0000", "created": "2011-04-15T03:41:02.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "feature", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:33: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Feature

\n

Implement the \"addRoute\" function for Android.

\n

Sample Code

\n

The following code works on iOS and draws a fun route in\nBoston.

\n
\nvar win = Ti.UI.createWindow({ backgroundColor: '#00f' });\nvar map = Titanium.Map.createView({\n    mapType: Titanium.Map.STANDARD_TYPE,\n    region: {\n        latitude: 42.3366, longitude: -71.1689,\n        latitudeDelta: 0.001, longitudeDelta: 0.004\n    }\n});\nmap.addRoute({\n    name: '1',\n    points: [\n        {latitude: 42.3353, longitude: -71.1705 },\n        {latitude: 42.3383, longitude: -71.1690 },\n        {latitude: 42.3358, longitude: -71.1670 },\n        {latitude: 42.3353, longitude: -71.1705 }\n    ],\n    color: 'red',\n    width: 4\n});\nmap.addRoute({\n    name: '2',\n    points: [\n        {latitude: 42.3363, longitude: -71.1682 },\n        {latitude: 42.3370, longitude: -71.1686 },\n        {latitude: 42.3369, longitude: -71.1692 },\n        {latitude: 42.3366, longitude: -71.1695 },\n        {latitude: 42.3361, longitude: -71.1690 },\n        {latitude: 42.3368, longitude: -71.1685 }\n    ],\n    color: 'red',\n    width: 4\n});\nwin.add(map);\nwin.open();\n
\n

Associated Helpdesk Ticket

\n

http://developer.appcelerator.com/helpdesk/view/76235

{html}", "attachment": [], "flagged": false, "summary": "Android: Map addRoute", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "130448", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{html}

Accidentally duplicated \nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...

{html}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-15T03:41:03.000+0000", "updated": "2011-04-15T03:41:03.000+0000" }, { "id": "130449", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Moving into a Sprint to get it out of TBS.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:41:03.000+0000", "updated": "2011-04-15T03:41:03.000+0000" }, { "id": "180133", "author": { "name": "dade@dadeb.it", "key": "dade@dadeb.it", "displayName": "Davide Bertola", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you estimate when this will be available ? ", "updateAuthor": { "name": "dade@dadeb.it", "key": "dade@dadeb.it", "displayName": "Davide Bertola", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-22T01:57:36.000+0000", "updated": "2012-01-22T01:57:36.000+0000" }, { "id": "181533", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-02T16:03:00.000+0000", "updated": "2012-02-02T16:03:00.000+0000" }, { "id": "415686", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the linked issues.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:33:22.000+0000", "updated": "2017-03-24T18:33:22.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }