{ "id": "145440", "key": "TIMOB-18637", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-03-11T13:59:21.000+0000", "created": "2015-03-05T14:49:48.000+0000", "epic": { "id": 139107, "key": "TIMOB-17966", "name": "Windows: Port Corporate Directory application to Windows Phone", "summary": "Windows: Port Corporate Directory application to Windows Phone", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [ { "id": "46436", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "144633", "key": "TIMOB-18569", "fields": { "summary": "Windows: Implement Ti.Map.View proxy", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2017-03-14T20:08:59.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "I'm seeing an initial location somewhere in the South Pacific Ocean, in the middle of water, for the following code example:\r\n{code:javascript}\r\nvar Map = require('ti.map');\r\nvar win = Titanium.UI.createWindow({\r\n backgroundColor: 'red'\r\n});\r\n\r\nvar mountainView = Map.createAnnotation({\r\n latitude:37.390749,\r\n longitude:-122.081651,\r\n title:\"Appcelerator Headquarters\",\r\n subtitle:'Mountain View, CA',\r\n pincolor:Map.ANNOTATION_RED,\r\n myid:1 // Custom property to uniquely identify this annotation.\r\n});\r\n\r\nvar mapview = Map.createView({\r\n mapType: Map.NORMAL_TYPE,\r\n region: {\r\n latitude: 37.390749, longitude: -122.081651,\r\n latitudeDelta:0.00, longitudeDelta:0.00},\r\n animate:true,\r\n regionFit:true,\r\n userLocation:true,\r\n annotations:[mountainView]\r\n});\r\n\r\nwin.add(mapview);\r\nwin.open();\r\n{code}\r\n\r\nI'm not sure if it's trying to set the region too early, using the wrong coordinates, or what.", "attachment": [], "flagged": false, "summary": "Windows: Initial Map region isn't always obeyed", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 350, "state": "closed", "name": "2015 Sprint 05 Windows", "startDate": "2015-02-28T16:04:51.353Z", "endDate": "2015-03-14T00:00:00.000Z", "completeDate": "2015-03-14T13:58:43.679Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "412211", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T20:08:59.000+0000", "updated": "2017-03-14T20:08:59.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }