{ "id": "167181", "key": "ALOY-1558", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-04-19T15:53:02.000+0000", "created": "2017-04-19T03:00:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2018-03-07T22:28:25.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": [], "description": "Unable to display the annotation when using Alloy to display a location on Android emulator as per the documentation examples at http://docs.appcelerator.com/platform/latest/#!/api/Modules.Map .\r\n\r\nEven applying the Annotation parameters inside the tags doesn't fix this.\r\n\r\n*index.xml*\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\t \r\n\t\t\t \r\n\t\t\r\n\t\t\r\n\t\r\n\r\n\r\n*index.js*\r\n\r\n\r\n*index.tss*\r\n\r\n\"#mapview\": {\r\n\tregion: {\r\n\t\tlatitude: 33.74511,\r\n\t\tlongitude: -84.3899,\r\n\t\tlatitudeDelta: 0.01,\r\n\t\tlongitudeDelta: 0.01,\r\n\t\tregionFit:true,\r\n\t}\r\n},\r\n\"#appcHQ\": {\r\n\tlatitude: 37.390749,\r\n\tlongitude: -122.081651,\r\n\ttitle: \"Appcelerator Headquarters\",\r\n\tsubtitle: \"Mountain View, CA\",\r\n\tpincolor: Alloy.Globals.Map.ANNOTATION_RED\r\n}\r\n\r\n\r\n\r\nHowever, if tag is used, instead of , seems to work fine. \r\n\r\n*index.xml*\r\n\r\n\t\r\n\r\n\r\n*index.tss*\r\n\"#mapView\": {\r\n\tregion: {\r\n\t\tlatitude: -33.8688,\r\n\t\tlongitude: 151.2093,\r\n\t\tlatitudeDelta: 0.01,\r\n\t\tlongitudeDelta: 0.01\r\n\t}\r\n},\r\n'#sydneyOH':{\r\n\tlatitude: -33.852222,\r\n\tlongitude: 151.210556,\r\n\ttitle: \"ILAY's Harbour Bridge\",\r\n\tsubtitle: \"Sydney, NSW\",\r\n\tpincolor: Alloy.Globals.Map.ANNOTATION_RED\r\n},\r\n\r\nSeems like the documentation also needs to be updated.", "attachment": [], "flagged": false, "summary": "Annotation doesn't work on Alloy", "creator": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "environment": "Mac OSX\r\nAndroid Emulator \r\nUsing Google API : 23\r\nStudio : 4.8.1.201612050850\r\nTitanium SDK: 6.0.3 GA\r\n\r\n", "comment": { "comments": [ { "id": "417676", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "[~isener] looks like the documentation needs updating, could you please open a TIDOC ticket. Thanks!", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2017-04-19T15:52:55.000+0000", "updated": "2017-04-19T15:52:55.000+0000" }, { "id": "417720", "author": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "updateAuthor": { "name": "isener", "key": "isener", "displayName": "ILAY SENER", "active": true, "timeZone": "Australia/Sydney" }, "created": "2017-04-19T21:59:48.000+0000", "updated": "2017-04-19T21:59:48.000+0000" }, { "id": "435328", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If this is incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-07T22:28:25.000+0000", "updated": "2018-03-07T22:28:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }