Project: titanium
Issue TIMOB-17953: iOS: Map annotations show buttons event is not declared on iOS 7.0.X
h3. Issue When customer creates map annotations and one of them is left without declaring left or right button the buttons are shown when the annotation si clicked, this only happens when the app is deployed with Ti SDK 3.4.0 and iOS device version 7.0.3/7.0.4. h3. Steps to repro 1. run test code 2. Click on the green annotation Expected Result The green annotation will not show any button (left or right) Actual Result The green annotation show both buttons h3. Test Code {code} var Map = require('ti.map'); var ary = []; var win = Ti.UI.createWindow({	backgroundColor:'#fff', }); for(i=0;i<5;i++){	var an1 = Map.createAnnotation({	latitude : 37.775202,	longitude : -122.41924+(0.00005*i),	leftButton : 'red_x.png',	rightButton : 'tick_64.png',	pincolor : Map.ANNOTATION_RED,	title : "Sydney",	subtitle : "Sydney is quite chill",	animate : true,	annID : 1,	annIDCount : [1, 2] }); ary.push(an1);	} var ann2 = Map.createAnnotation({	animate : true,	latitude : 37.7749295,	pincolor : Map.ANNOTATION_GREEN,	longitude : -122.4194155,	title : "Anno2",	subtitle : "This is anno2", }); ary.push(ann2); var map = Map.createView({	userLocation : false,	mapType : Map.NORMAL_TYPE,	animate : true,	annotations : ary,	region : {	latitude : 37.7749295,	longitude : -122.4194155,	latitudeDelta : 0.1,	longitudeDelta : 0.1	}, //Sydney	top : 0 }); win.add(map); win.open(); {code}
Story points: 5