{ "id": "140793", "key": "TIMOB-18510", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-03-13T18:29:49.000+0000", "created": "2014-12-02T10:20:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "TCSupport", "annotation", "draggable", "dragging", "ios", "mapView", "pin" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "46337", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "145256", "key": "MOD-2102", "fields": { "summary": "iOS Map Module: pinchangedragstate event not firing", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-03-13T18:29:49.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem Description\r\nA map annotation with draggable set to true is not actually draggable. \r\n\r\nh4. Steps to reproduce\r\nHello, We have tested this issue with iOS 8.1.2 device. We have observed some issue.\r\n\r\n\r\nh4. Steps to reproduce\r\n1. Create a new project.\r\n2. Enable ti.map module to the project\r\n3. Replace app.js contents with :\r\n{code}\r\nvar Map = require('ti.map');\r\n \r\nvar win = Ti.UI.createWindow();\r\n \r\nvar mountainView = Map.createAnnotation({\r\n latitude : 37.390749,\r\n longitude : -122.081651,\r\n title : \"Appcelerator Headquarters\",\r\n subtitle : 'Mountain View, CA', \r\n image : 'KS_nav_views.png',\r\n draggable : true\r\n});\r\n \r\nvar mapview = Map.createView({\r\n mapType : Map.STANDARD_TYPE,\r\n region : {\r\n latitude : 37.390749,\r\n longitude : -122.081651,\r\n latitudeDelta : 0.04,\r\n longitudeDelta : 0.04\r\n },\r\n animate : true,\r\n regionFit : true,\r\n userLocation : true,\r\n annotations : [mountainView]\r\n});\r\n \r\nwin.add(mapview);\r\n \r\nwin.open();\r\n{code}\r\n4. Run the project in iOS DEVICE running iOS 8.1+ \r\n\r\nh4. Actual results\r\nThe 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.\r\nNow when the pin in drugged and placed on another place, now the mapview moves freely without the pin moving with it. \r\n\r\nThe pin does not stuck on a new place after it's being dragged.\r\n\r\nh4. Extra info\r\nAs 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.\r\n\r\nSetting 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\r\n", "attachment": [], "flagged": false, "summary": "Map pin not draggable in iOS 8.1.1", "creator": { "name": "jdrucey", "key": "jdrucey", "displayName": "Jamie Druce", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jdrucey", "key": "jdrucey", "displayName": "Jamie Druce", "active": true, "timeZone": "Europe/London" }, "environment": "iOS 8.1.1\r\nCLI version 3.4.1, \r\nTitanium SDK version 3.5.0.GA\r\niOS 8.1.2\r\niPod 5G", "closedSprints": [ { "id": 356, "state": "closed", "name": "2015 Sprint 05 SDK", "startDate": "2015-02-28T15:50:08.527Z", "endDate": "2015-03-14T00:00:00.000Z", "completeDate": "2015-03-14T13:54:50.695Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "335567", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Confirmed on an iPad Air running iOS 8.1.1, using 3.4.1.GA as the SDK.\r\n\r\nTest case:\r\n\r\n1. Use the Kitchen Sink project.\r\n2. Add {{ti.map}} in {{tiapp.xml}}\r\n3. Open {{Resources/ui/common/baseui/map_view.js}} and add {{draggable:true}} to the annotations\r\n4. Run on a iOS 8.1.1 device and note the pins not being draggable\r\n\r\nWorks fine on iOS Simulator 8.1 and devices running iOS 8.1.0 or older", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-12-09T13:32:04.000+0000", "updated": "2014-12-09T13:32:25.000+0000" }, { "id": "336121", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Confirmed on an iPad Air running iOS 8.1.2, using both ti.map 2.0.6 and 2.2.0", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-12-12T07:19:32.000+0000", "updated": "2014-12-12T07:24:55.000+0000" }, { "id": "341592", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~ingo], can we get this scheduled?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-02-02T08:46:29.000+0000", "updated": "2015-02-02T08:46:29.000+0000" }, { "id": "342018", "author": { "name": "jda", "key": "jda", "displayName": "John Dalsgaard", "active": true, "timeZone": "Europe/Berlin" }, "body": "I have this as a serious problem as well +1", "updateAuthor": { "name": "jda", "key": "jda", "displayName": "John Dalsgaard", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-02-04T10:10:00.000+0000", "updated": "2015-02-04T10:10:00.000+0000" }, { "id": "343248", "author": { "name": "wilsonliaw", "key": "wilsonliaw", "displayName": "Wilson Liaw", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Hi, may I ask how's the progress, urgently need this method for coming app release, thanks", "updateAuthor": { "name": "wilsonliaw", "key": "wilsonliaw", "displayName": "Wilson Liaw", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-02-13T10:49:11.000+0000", "updated": "2015-02-13T10:49:11.000+0000" }, { "id": "343750", "author": { "name": "dennis", "key": "dennis", "displayName": "Dennis Bergström", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Having serious trouble with this bug to! +1", "updateAuthor": { "name": "dennis", "key": "dennis", "displayName": "Dennis Bergström", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-18T13:58:39.000+0000", "updated": "2015-02-18T13:58:39.000+0000" }, { "id": "343935", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator-modules/ti.map/pull/82", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-19T19:05:06.000+0000", "updated": "2015-02-19T19:05:06.000+0000" }, { "id": "345752", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR merged, zip needs to be added to releases.", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-11T23:28:54.000+0000", "updated": "2015-03-11T23:28:54.000+0000" }, { "id": "345835", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pec1985] - Release looks good. Can you create a PRs for the master and 4_0_X branches to update titanium_mobile and then update titanium_releases", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-12T15:53:57.000+0000", "updated": "2015-03-12T15:53:57.000+0000" }, { "id": "345843", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "titanium_mobile PRs:\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/6716\r\n4_0_X: https://github.com/appcelerator/titanium_mobile/pull/6717\r\n\r\ntitanium_releases master updated: https://github.com/appcelerator/titanium_releases/blob/master/titanium.json", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-12T16:46:32.000+0000", "updated": "2015-03-12T16:46:32.000+0000" }, { "id": "345968", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. The map pin is now draggable as expected.\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.0.0.201503062102\r\nTi SDK : 4.0.0.v20150313093410\r\nCLI : 3.5.0-dev\r\nAlloy : 1.5.1\r\nMAC Yosemite : 10.10.2\r\nIphone 4S - IOS 8.1.1\r\nIphone 6 Plus - IOS 8.1.3\r\nMap module : 2.2.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-13T18:28:52.000+0000", "updated": "2015-03-13T18:29:45.000+0000" }, { "id": "345969", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "reopening to correct comment", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-13T18:29:23.000+0000", "updated": "2015-03-13T18:29:23.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }