[TIMOB-23988] iOS: Ti.Map - Add click event to "callout" bubble and return clicksource==infoWindow, deprecate showsCompass
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-12-29T11:59:12.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.1.0 |
Components | iOS |
Labels | annotation, community, map, parity |
Reporter | Sergey Nosenko |
Assignee | Hans Knöchel |
Created | 2016-09-13T22:08:21.000+0000 |
Updated | 2017-01-23T17:33:38.000+0000 |
Description
The Ti.Map module for Android supports click-events on the callout bubble / info window, indicating with the
clicksource
being equal to "infoWindow"
, so we need parity for that on iOS. Also, we should deprecate the showsCompass
property from iOS in favor of the cross-platform compassEnabled
property.
PR (ti.map/master): https://github.com/appcelerator-modules/ti.map/pull/193 PR (titanium_mobile/master): https://github.com/appcelerator/titanium_mobile/pull/8718
[~lmorris] Yes, see [this commit](https://github.com/appcelerator-modules/ti.map/commit/0f04afd6441edc351642292d81b320c9451b4786) for details.
I can verify that this works and am closing the ticket. Tested on; iPhone 7 and Simulator (10.2) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.1.0.v20170123064346 Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80