{ "id": "170561", "key": "MOD-2377", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2020-03-04T08:34:09.000+0000", "created": "2017-12-07T21:21:07.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-03-04T08:34:09.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": "Hello,\r\n\r\nRecently we have found that createCircle method is not working for Ti.Map module. We have tested the issue in the following environment:\r\n*Test Environment:*\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 6.10.3\r\n npm Version = 3.10.10\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 6.3.0.GA\r\n\r\n*Test Code:*\r\n{code}\r\nvar Map = require('ti.map');\r\nvar win = Titanium.UI.createWindow();\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: {latitude:33.74511, longitude:-84.38993,\r\n latitudeDelta:0.01, longitudeDelta:0.01},\r\n animate:true,\r\n regionFit:true,\r\n userLocation:true,\r\n annotations:[mountainView]\r\n});\r\n\r\nvar circle = Map.createCircle({\r\n center: { latitude: 33.74511, longitude: -84.38993 },\r\n radius: 250,\r\n strokeWidth: 1,\r\n strokeColor: '#AD5A00',\r\n fillColor: '#FF8400'\r\n});\r\nmapview.addCircle(circle);\r\n\r\nwin.add(mapview);\r\n// Handle click events on any annotations on this map.\r\nmapview.addEventListener('click', function(evt) {\r\n Ti.API.info(\"Clicked \" + evt.clicksource + \" on \" + evt.latitude + \",\" + evt.longitude);\r\n});\r\nwin.open();\r\n{code}\r\nAlso use the test code from [this|https://gist.github.com/hansemannn/8937df4f33bcbb8f9327879d90c5224c] Link\r\n\r\n*Test Result:*\r\nThe circle is not showing on the Map.\r\n\r\n*Expected Result:*\r\nThe Circle shows on the Map.", "attachment": [], "flagged": false, "summary": "iOS: createCircle method is not working for Ti.Map module", "creator": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "iOS, Ti.Map, createCircle", "comment": { "comments": [ { "id": "431905", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I just tested with [Ti.Map iOS 3.0.1|https://github.com/appcelerator-modules/ti.map/releases/tag/ios-3.0.1] and it works fine. Please validate with that version.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-09T22:25:09.000+0000", "updated": "2017-12-09T22:25:09.000+0000" }, { "id": "454535", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Closing as cannot reproduce on latest 9.0.0 and ti.map 3.3.0", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-03-04T08:34:09.000+0000", "updated": "2020-03-04T08:34:09.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }