{ "id": "61806", "key": "TIMOB-1174", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:25.000+0000", "created": "2011-04-15T02:45:47.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "iphone", "mapview" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-09-28T19:01:16.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}

On 4.0, Map View doesn't seem to correctly zoom to the correct\nzoom level and coordinates like previous releases.

{html}", "attachment": [], "flagged": false, "summary": "iPhone: Map view don't seem to zoom to coordinates", "creator": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124998", "author": { "name": "wallneradam", "key": "wallneradam", "displayName": "wallneradam", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I have this problem as well.
\nHere is a code to test:

\n
\nvar w = Ti.UI.createWindow({});
\n
\n\n\n
\nvar mapview = Ti.Map.createView({
\n
\n\n\n
\n
\n
\nmapType: Ti.Map.STANDARD_TYPE,\nregion: {latitude: 48, longitude: 8, latitudeDelta: 40.08717290092796, longitudeDelta: 56.25},\nanimate: true,\nregionFit: true,\nuserLocation: false\n
\n
\n\n\n
\n});\n\n
\nw.add(mapview);\n\n
\nw.open();\nsetTimeout(function() {\n\n
\n
\nmapview.zoom(1);\nsetTimeout(function() {\n    mapview.zoom(2);\n}, 2000);\n
\n
\n\n\n
\n}, 2000)\n
\n

If I change latitudeDelta and longitudeDelta lesser than 7 it\nwill work, otherwise not.

{html}", "updateAuthor": { "name": "wallneradam", "key": "wallneradam", "displayName": "wallneradam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:45:47.000+0000", "updated": "2011-04-15T02:45:47.000+0000" }, { "id": "124999", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [5e48be0bd021b3b75b99b1fff3a82a245a524529])\nCloses #1174 : Typo in TiMapView during setting the\nregion was causing us to ignore the region on startup. \nhttp://github.com/appcelerator/titanium_mobile/commit/5e48be0bd021b...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:45:48.000+0000", "updated": "2011-04-15T02:45:48.000+0000" }, { "id": "125000", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [6c2b0d450f4a879a2d48a2376564870d4ad06e8b])\n[#1174 state:fixed-in-qa] If window proxy\nswitched to a context of its creation (using\nTiProxy.switchContext), now it switches back to its original\ncontext when that created context is slated to be cleaned up.\n(i.e., when the window is closed) \nhttp://github.com/appcelerator/titanium_mobile/commit/6c2b0d450f4a8...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:45:48.000+0000", "updated": "2011-04-15T02:45:48.000+0000" }, { "id": "125001", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Ignore that commit. I got the ticket number wrong by one digit.\n:\\

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T02:45:48.000+0000", "updated": "2011-04-15T02:45:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }