[AC-2458] Modules.Map is not at all working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-12T18:14:21.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Documentation, Studio, Titanium SDK & CLI |
Labels | MapModule, Titanium3.2-Beta |
Reporter | Manojkumar Murugesan |
Assignee | Shak Hossain |
Created | 2013-12-10T05:47:50.000+0000 |
Updated | 2016-03-08T07:41:30.000+0000 |
Description
I want to use the native iOS map module introduced in SDK 3.2 (http://docs.appcelerator.com/titanium/latest/#!/api/Modules.Map)
I 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"
I 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.
This is what I have in index.js
function opened(e) {
var Map = require('ti.map');
alert(Map);
var mapview = Map.createView({
mapType : Map.NORMAL_TYPE
});
$.index.add(mapview);
}
$.index.open();
Attachments
File | Date | Size |
---|---|---|
iOS Simulator Screen shot 10-Dec-2013 11.16.39 am.png | 2013-12-10T05:47:50.000+0000 | 67395 |
Screen Shot 2013-12-10 at 11.09.53 am.png | 2013-12-10T05:49:46.000+0000 | 97448 |
Hello Manoj, I 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]
Testing Environment:
Ti CLI 3.3.0 Titanium SDK: 3.2.0.v20131209192649 iOS simulator 7.0 Alloy 1.3.0-betaTest Code
index.xmlindex.js
Steps to Test
1. Create a alloy project 2. Update index.xml, index.js file 3. Add ti.map module in tiapp.xml file 4. And run this project with testing environment ThanksI fixed that error dialog by refreshing the run configuration as mentioned here http://developer.appcelerator.com/question/157396/xcode-5-titanium-sdk-313-ga No issues now. Thanks for your clarification.
[~mano_mykingdom] Thank you for your feedback. Appreciate it. Closing the ticket.