[TIMOB-17540] Cannot add TTID to Map annotations because they are not a part of Ti.UI.View
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | Ti.UI.View, Titanium.Proxy, TouchTestId, soasta |
| Reporter | Eric Wieber |
| Assignee | Unknown |
| Created | 2014-08-21T21:18:12.000+0000 |
| Updated | 2018-02-28T20:04:03.000+0000 |
Description
From SOASTA engineering:
"I see in my index.js code that the following is being set:
// Create route and annotations
var route = Alloy.Globals.Map.createRoute({
points : points,
color : "blue",
width : 6
}), startAnnotation = Alloy.Globals.Map.createAnnotation({
pincolor : Alloy.Globals.Map.ANNOTATION_RED,
latitude : points[0].latitude,
longitude : points[0].longitude,
title : $.sourceLocationEditText.value,
touchTestId: "RedAnnoTTID",
}), endAnnotation = Alloy.Globals.Map.createAnnotation({
pincolor : Alloy.Globals.Map.ANNOTATION_GREEN,
latitude : points[points.length - 1].latitude,
longitude : points[points.length - 1].longitude,
title : $.destLocationEditText.value,
//rightButton : "/images/arrow.png"
touchTestId: "GreenAnnoTTID",
});
And we are not currently getting the touchTestIds during recordings. The reason is when this is being created, it’s not a part of the TiUIView, so we cannot capture this information.
I would like to see what the code gets translated to in Java, but I don’t know where to look for it. Can you point me to documentation, or let me know who to contact, so I know which method on your side I need to look at (I.e. In the titanium.jar) that will allow me to capture the touchTestIds being set here?"
This is a similar issue to TIMOB-16978, as we will need some cooperation between SOASTA and AppC engineers to identify the correct methods to change so that recordings can detect the TouchTestIds on map annotations.
No comments