Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17540] Cannot add TTID to Map annotations because they are not a part of Ti.UI.View

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTi.UI.View, Titanium.Proxy, TouchTestId, soasta
ReporterEric Wieber
AssigneeUnknown
Created2014-08-21T21:18:12.000+0000
Updated2018-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.

Comments

No comments

JSON Source