[TIMOB-23343] Windows : Map annotations do not handle click events
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-31T15:52:05.000+0000 |
Affected Version/s | Release 5.3.0 |
Fix Version/s | Release 5.4.0 |
Components | Windows |
Labels | qe-5.4.0 |
Reporter | Jörgen Buder |
Assignee | Kota Iguchi |
Created | 2016-05-09T14:01:34.000+0000 |
Updated | 2016-06-23T19:57:57.000+0000 |
Description
Windows has support for the map namespace and according to API parity and looking at the code in the github repo almost all APIs are in, one thing we can´t get working is the annotation (or map) click event, there is in fact a click event, but the event is not returning and useful data, we do not know the e.source for instance or some similar data sp we can parse it and use it to know which annotation was clicked...
Can we expose the annotation some how so we can know what annotation was clicked by attaching to the proxy object and add a native handler?
Hi We need your attention to this issue, here is more information. Setting up a map i the standard way adding annotation to it and then trying to print the object from the annotation click looks like this:
As you can see there is no way for us to determine what the source was, and generally we are not able to parse the object coming into the function it crashes the parsing. Code:
Am I clear enough in this ticket? Let me know if you need me to test something or add information to this quite important ticket. Thanks
https://github.com/appcelerator/titanium_mobile_windows/pull/723
Verified as fixed. Tested on: Microsoft Lumia 640 (8.1) Windows Simulator (8.1) Microsoft Lumia 640 (10) Windows Simulator (10) Windows 10 Pro Studio: 4.7.0.201606150733 Ti SDK: 5.4.0.v20160617074028 Appc NPM: 4.2.7-2 App CLI: 5.4.0-18 Node v4.4.4 *Closing Ticket.*