Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2567] selectAnnotation stopped work since Titanium Developer 1.2.2

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNeeds more info
Resolution Date2012-07-20T15:29:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsannotation, annotations, ios, iphone, look1, map
ReporterJoe Maffia
AssigneeNeeraj Gupta
Created2011-04-15T03:23:01.000+0000
Updated2017-03-16T20:44:51.000+0000

Description

the selectAnnotation seems stopped working just after the upgrade to Titanium Developer 1.2.2

any clue on it?

    win = Titanium.UI.createWindow({
    // url:e.rowData.test,
    backButtonTitle:'Back',
    title:e.rowData.tip_user,
    barColor:'#336699',
    tabBarHidden:true
});
pin = Titanium.Map.createAnnotation({
    latitude:e.rowData.lat,
    longitude:e.rowData.lng,
    title:e.rowData.venue_name, //venue name
    subtitle:e.rowData.tip_text, //tips
    pincolor:Titanium.Map.ANNOTATION_RED,
    animate:true,
    myid:1 // CUSTOM ATTRIBUTE THAT IS PASSED INTO EVENT OBJECTS
});

win.add(mapview);   
win.add(mapToolbar);
mapview.selectAnnotation(mapview.annotations[0],true);

Comments

  1. Vishal Duggal 2012-07-20

    Resolving as needs more info. Test case is incomplete and all test cases here regarding selectAnnotation pass
  2. Lee Morris 2017-03-16

    Closing ticket as the information that was requested was never provided.

JSON Source