{ "id": "60812", "key": "TIMOB-180", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "11216", "name": "Release 0.8.0", "archived": true, "released": true, "releaseDate": "2009-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:52:15.000+0000", "created": "2011-04-15T02:24:53.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "iphone", "maps" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:52:15.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}

Description

\n

The purpose of this API is to add support for in-app Map\nViews

\n

TODO: NEED TO FIGURE OUT SPECS FOR THE FOLLOWING

\n\n

Examples

\n
\n\n//\n// create a map view (this is just another type of view for us)\n//\n\nvar region = {coordinate:{longitude:long, latitude:lat}, span:{longitudeDelta:longDelta, latitudeDelta:latDelta}};\n\nvar view = Titanium.UI.createMapView({\n    type: Titanium.UI.MAP_VIEW_STANDARD | Titanium.UI.MAP_VIEW_SATELLITE | Titanium.UI.MAP_VIEW_HYBRID,\n    zoomEnabled: true | false, \n    scrollEnabled: true | false,\n    region:region\n    \n});\n\nview.setCenterCoordinate({longitude:long, latitude:lat});\nview.setRegion(regionObject);\n\n//\n// this api allows you to translate a long/lat coordinate into a location\n//\nvar coordinate = {longitude:long, latitude:lat};\nTitanium.Geolocation.reverseGeocoder(coordinate, function(location)\n{\n     // location is a JSON object with reverse geo details (address, city, state, country, etc.)\n\n     // a null value means it failed to do the reverse translation\n});\n
{html}", "attachment": [], "flagged": false, "summary": "API - Maps", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "122898", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

this has been fully implemented for iphone with the exception of\nreverse and forward geo API.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:54.000+0000", "updated": "2011-04-15T02:24:54.000+0000" }, { "id": "122899", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [e87883b4632634a8595eb212364a7010a8076b42])\n[#180\nstate:resolved] implemented forward and reverse geo coding in Geo\nmodule \nhttp://github.com/appcelerator/titanium_mobile/commit/e87883b463263...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:54.000+0000", "updated": "2011-04-15T02:24:54.000+0000" }, { "id": "122900", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

this has been implemented.

\n

the API is slightly different.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:24:54.000+0000", "updated": "2011-04-15T02:24:54.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }