{ "id": "61975", "key": "TIMOB-1343", "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-05-04T17:00:14.000+0000", "created": "2011-04-15T02:49:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "parity", "qe-testadded" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [ { "id": "14941", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "62565", "key": "TIMOB-1933", "fields": { "summary": "Multiple routes (polylines) on map", "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": "Trivial", "id": "5" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T11:01:07.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}{html}", "attachment": [ { "id": "28199", "filename": "2.1 route fix screenshot.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-06T12:59:33.000+0000", "size": 341004, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Add Route support to MapView", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125394", "author": { "name": "dasher", "key": "dasher", "displayName": "Dasher", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}
todo:
\n- integrate pending android map enhancements - add a proxy method\n(ala iPhone style) for the simplified routing - document, enhanced\ndemo for KS, screencast
Please scope this effort early in the milestone to see if it\nwill fit. If not please record your findings so we'll have them for\nthe next sprint.
Accidentally duplicated, so I'll post my sample code here to\nmake this easier to test when we get to it.
\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