[AC-239] iOS map click event fires only if clicksourse is "pin"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-11-11T05:20:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | ios, mapView, module |
Reporter | Georgi Nikolov |
Assignee | Shak Hossain |
Created | 2015-07-17T09:40:44.000+0000 |
Updated | 2015-11-11T05:20:35.000+0000 |
Description
That are parts of my code which do not works after update to Titanium CLI version 4.0.1
Currently click event only fires if e.clicksourse is "pin" but i need to fire if clicksourse is "rightButton" which works before update
in the Alloy xml view:
in Alloy controller:
function doClick(e){
Ti.API.info("doClick: " + e.clicksource);
}
Please retry using the latest Ti.Map version, thank you!
Hello, I have tested this issue in my environment. Click event for rightButton works as expected. *Testing Environment:* Appcelerator Studio, build: 4.3.0.201509031836 Appcelerator Command-Line Interface, version 5.0.0-50 Titanium SDK: 4.1.1 GA, 4.1.0GA, 4.0.0GA iOS simulator: iphone 5s(v8.1) OS X version: 10.9.5 *Steps to test* 1. Create an alloy project. 2. Replace index.xml and index.js with following code 3. Run the project Now click on the left and right button of the map and observe the output for the clicksource in the console. *Test Case:* index.xml
index.js
Thanks.