{ "id": "123527", "key": "AC-2458", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-12T18:14:21.000+0000", "created": "2013-12-10T05:47:50.000+0000", "labels": [ "MapModule", "Titanium3.2-Beta" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:30.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": "14545", "name": "Documentation" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I want to use the native iOS map module introduced in SDK 3.2 (http://docs.appcelerator.com/titanium/latest/#!/api/Modules.Map)\r\n\r\nI downloaded the module from https://github.com/appcelerator-modules/ti.map and followed the documentation. When I launch the simulator, it shows the error popup says - \"Couldn't find module : ti.map\"\r\n\r\nI have attached the screenshot for your reference. I even tried to download the source code and debug with Xcode, even there it says \"Build Succeed\" and no simulator is launched.\r\n\r\nThis is what I have in index.js\r\n\r\n{code:xml} \r\nfunction opened(e) {\r\n\tvar Map = require('ti.map');\r\n\talert(Map);\r\n\tvar mapview = Map.createView({\r\n\t\tmapType : Map.NORMAL_TYPE\r\n\t});\r\n\t$.index.add(mapview);\r\n}\r\n\r\n$.index.open();\r\n{code}\r\n\r\n", "attachment": [ { "id": "44519", "filename": "iOS Simulator Screen shot 10-Dec-2013 11.16.39 am.png", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-10T05:47:50.000+0000", "size": 67395, "mimeType": "image/png" }, { "id": "44521", "filename": "Screen Shot 2013-12-10 at 11.09.53 am.png", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-10T05:49:46.000+0000", "size": 97448, "mimeType": "image/png" } ], "flagged": false, "summary": "Modules.Map is not at all working", "creator": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Studio 3.2 beta\r\nSDK Version - 3.2.0.v20130412191647\r\nAlloy - 1.3.0-beta\r\nXcode - 5.0.2\r\niPhone Simulator 7.0\r\n", "comment": { "comments": [ { "id": "283567", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello Manoj,\r\n\r\nI tested this issue with the test code below. I can’t reproduce this issue in Ti SDK 3.2.0.v20131209192649. Please install the latest SDK and test your app. If you continue to get error, please send us a test case with steps to reproduce. for more information please visit [Modules.Map| http://docs.appcelerator.com/titanium/latest/#!/api/Modules.Map]\r\n\r\nh5. Testing Environment:\r\nTi CLI 3.3.0\r\nTitanium SDK: 3.2.0.v20131209192649 \r\niOS simulator 7.0 \r\nAlloy 1.3.0-beta\r\n\r\n\r\n\r\nh5. Test Code\r\n\r\nindex.xml\r\n{code}\r\n\r\n\t \r\n\t\t\r\n\t\r\n\r\n{code}\r\nindex.js \r\n\r\n{code}\r\n \r\nvar mountainView = Alloy.Globals.Map.createAnnotation({\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\tmyid : 1 // Custom property to uniquely identify this annotation.\r\n});\r\n\r\n$.mapview.region = {\r\n\tlatitude : 33.74511,\r\n\tlongitude : -84.38993,\r\n\tlatitudeDelta : 0.01,\r\n\tlongitudeDelta : 0.01\r\n};\r\n$.mapview.addAnnotation(mountainView);\r\n\r\n$.index.open(); \r\n{code}\r\n\r\nh5. Steps to Test\r\n\r\n1. Create a alloy project\r\n2. Update index.xml, index.js file \r\n3. Add ti.map module in tiapp.xml file \r\n4. And run this project with testing environment\r\n\r\nThanks ", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T17:41:10.000+0000", "updated": "2013-12-11T17:34:39.000+0000" }, { "id": "283940", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-12T06:50:04.000+0000", "updated": "2013-12-12T06:50:04.000+0000" }, { "id": "283941", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I fixed that error dialog by refreshing the run configuration as mentioned here http://developer.appcelerator.com/question/157396/xcode-5-titanium-sdk-313-ga\n\nNo issues now. Thanks for your clarification.", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-12T07:08:20.000+0000", "updated": "2013-12-12T07:08:20.000+0000" }, { "id": "284005", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mano_mykingdom] Thank you for your feedback. Appreciate it. Closing the ticket.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T18:13:58.000+0000", "updated": "2013-12-12T18:13:58.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }