2

Hello friends,

I am facing an issue in map-pin in Titanium Development and in map annotations I set and leftView and rightButton and also its work fine in iPhone but in android its not display rightButton and also try rightView but its not display in android so please give me idea about it.

var annotationParams = {
                        latitude:currentWindow.lat,
                        longitude:currentWindow.longi,
                        title:currentWindow.name,//"Atlanta, GA",
                        pincolor: isAndroid ? "orange" : Titanium.Map.ANNOTATION_RED,
                        animate:true,
                        myid:1,
                        leftView: Titanium.UI.createImageView
                        ({
                            image: currentWindow.photo,
                            height: 30,
                            width: 50
                        }),
                     //rightView: Titanium.UI.iPhone.SystemButton.DISCLOSURE
                       rightButton: path +'/Images/fav.png'
                       };

Thanks in advance.

Maulik
  • 19,348
  • 14
  • 82
  • 137
Nikunj Jadav
  • 3,417
  • 7
  • 38
  • 54

0 Answers0