{ "id": "61820", "key": "TIMOB-1188", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:28.000+0000", "created": "2011-04-15T02:46:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:28.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}
Hi,
\nWhen I create a map, and set the region, the latitudeDelta and\nlongitudeDelta properties are interpreted wrong. After the view was\nadded to the window, the same region object works good.
\nI use the latest 1.3.2 from git.
\nAn example:
\n\nvar w = Ti.UI.createWindow({});\n\nvar startRegion = {\"longitude\":19.01759147644043,\"latitude\":47.46166758068304,\"longitudeDelta\":0.0274658203125,\"latitudeDelta\":0.01990384287526581};\n\nvar mapview = Ti.Map.createView({\n mapType: Ti.Map.STANDARD_TYPE,\n region: startRegion,\n animate: true,\n regionFit: true,\n userLocation: false\n});\n\nw.add(mapview);\nw.open();\n\nsetTimeout(function() {\n mapview.region = startRegion;\n}, 2000);
\n
This is a duplicate bug which has been resolved. Please inform\nus if your code still does not work after the official Titanium 1.4\nis released.