Project: titanium
Issue TIMOB-18510: Map pin not draggable in iOS 8.1.1
h4. Problem Description A map annotation with draggable set to true is not actually draggable. h4. Steps to reproduce Hello, We have tested this issue with iOS 8.1.2 device. We have observed some issue. h4. Steps to reproduce 1. Create a new project. 2. Enable ti.map module to the project 3. Replace app.js contents with : {code} var Map = require('ti.map'); var win = Ti.UI.createWindow(); var mountainView = Map.createAnnotation({ latitude : 37.390749, longitude : -122.081651, title : "Appcelerator Headquarters", subtitle : 'Mountain View, CA', image : 'KS_nav_views.png', draggable : true }); var mapview = Map.createView({ mapType : Map.STANDARD_TYPE, region : { latitude : 37.390749, longitude : -122.081651, latitudeDelta : 0.04, longitudeDelta : 0.04 }, animate : true, regionFit : true, userLocation : true, annotations : [mountainView] }); win.add(mapview); win.open(); {code} 4. Run the project in iOS DEVICE running iOS 8.1+ h4. Actual results The application run with displaying annotation. Tapping on the annotation will display the annotation title and sub title. Now clicking for one second on the annotation will enable the pin to drug and place anywhere in the map. Now when the pin in drugged and placed on another place, now the mapview moves freely without the pin moving with it. The pin does not stuck on a new place after it's being dragged. h4. Extra info As also raised in this community question https://developer.appcelerator.com/question/173037/map-pin-draggable-not-working, A map annotation with draggable set to true is not allowing users to move it. Setting a click event to log the annotations properties confirms that draggable is set to true . My testing has shown that all works fine in iOS 7 and even iOS 8.1.0, but fails in iOS 8.1.1
Story points: 5