{ "id": "154738", "key": "ALOY-1353", "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": "2016-02-19T23:23:28.000+0000", "created": "2016-02-04T09:44:35.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17709", "name": "Release 5.1.2", "archived": false, "released": true } ], "issuelinks": [ { "id": "50661", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "155043", "key": "TIDOC-2451", "fields": { "summary": "Alloy Map sample code needs to be updated", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2018-03-07T22:28: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": "12332", "name": "Titanium SDK", "description": "Any integration or issues with the TiSDK" } ], "description": "I followed this example:\r\n\r\nhttp://docs.appcelerator.com/platform/latest/#!/api/Modules.Map-method-createAnnotation\r\n\r\nbut if i create the map with Alloy, the map is ok but the annotation doesn't appear. With this example (no Alloy) all work well:\r\n\r\nhttp://docs.appcelerator.com/platform/latest/#!/guide/iOS_Map_Kit\r\n\r\ni think there are a bug with annotation in Alloy.", "attachment": [], "flagged": false, "summary": "Annotation doesn't appear in only Alloy Map", "creator": { "name": "Steph", "key": "steph", "displayName": "Stefano Zanellato", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "Steph", "key": "steph", "displayName": "Stefano Zanellato", "active": true, "timeZone": "Europe/Rome" }, "environment": "MAC, all latest update.", "closedSprints": [ { "id": 582, "state": "closed", "name": "2016 Sprint 04 Tooling", "startDate": "2016-02-13T01:31:29.907Z", "endDate": "2016-02-27T01:31:00.000Z", "completeDate": "2016-02-29T02:55:58.159Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "376014", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe tested and observed the same behavior. Map annotation is not showing properly.\r\n\r\n*Testing environment:*\r\nAppcelerator Studio, build: 4.4.0.201511241829\r\nAppcelerator Command-Line Interface, version 5.1.0\r\nTitanium Command-Line Interface, CLI version 5.0.5, \r\nTitanium SDK version : 5.1.2 GA\r\nMac OS X : 10.11.1 (EI Capitan)\r\nAndroid device: Nexus 7(android version 6)\r\n\r\n*Test Code:*\r\n*alloy.js*\r\n{code}\r\nAlloy.Globals.Map = require('ti.map');\r\n{code}\r\n\r\n*index.xml*\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n*index.js*\r\n{code}\r\nfunction report(evt) {\r\n Ti.API.info(\"Annotation \" + evt.title + \" clicked, id: \" + evt.annotation.myid);\r\n}\r\n\r\n$.index.open();\r\nDefined By\r\n\r\n{code}\r\n*index.tss*\r\n{code}\r\n\"#mapview\" : {\r\n region : {\r\n latitude:33.74511,\r\n longitude:-84.38993,\r\n latitudeDelta:0.01,\r\n longitudeDelta:0.01\r\n }\r\n},\r\n\"#appcHQ\" : {\r\n latitude: 37.390749,\r\n longitude: -122.081651,\r\n title: \"Appcelerator Headquarters\",\r\n subtitle: \"Mountain View, CA\",\r\n pincolor: Alloy.Globals.Map.ANNOTATION_RED\r\n}\r\n{code}\r\n\r\n*Steps to test:*\r\nRun above code and observe that map annotation is not showing.\r\n\r\n*Expected:*\r\nMap annotation should be visible\r\n\r\nThanks.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-04T11:47:53.000+0000", "updated": "2016-02-10T04:16:42.000+0000" }, { "id": "377417", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "The pin is way off the visible region of the map, also {{Module}} tag should be used.\r\nTry this one:\r\n\r\nh5. index.xml\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nh5. index.tss\r\n{code}\r\n\"#mapview\" : {\r\n region : {\r\n\t\tlatitude: 37.38,\r\n\t\tlongitude: -122.05,\r\n\t\tlatitudeDelta: 0.1,\r\n\t\tlongitudeDelta: 0.1\r\n\t},\r\n\tmapType: Alloy.Globals.Map.NORMAL_TYPE,\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_PURPLE\r\n}\r\n{code}\r\n", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-02-19T23:23:15.000+0000", "updated": "2016-02-19T23:23:15.000+0000" }, { "id": "421181", "author": { "name": "david.call@uvu.edu", "key": "david.call@uvu.edu", "displayName": "David Call", "active": true, "timeZone": "America/Denver" }, "body": "This may not be a bug in the Module however, there does seem to be an error in the documentation, because it's example shows using a \"View\" tag instead of the \"Module\" tag.", "updateAuthor": { "name": "david.call@uvu.edu", "key": "david.call@uvu.edu", "displayName": "David Call", "active": true, "timeZone": "America/Denver" }, "created": "2017-06-07T16:14:09.000+0000", "updated": "2017-06-07T16:14:09.000+0000" }, { "id": "435356", "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:28.000+0000", "updated": "2018-03-07T22:28:28.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }