{ "id": "137239", "key": "TIMOB-17857", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-09-25T22:59:25.000+0000", "priority": null, "labels": [ "android", "mapsv2" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:15.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "On Android (tested multiple versions, currently on 4.4.2) using maps module v2 the getRegion() method does not exist and pulling the region variable returns undefined. \r\nhttp://docs.appcelerator.com/titanium/3.0/#!/api/Modules.Map.View-property-region\r\n\r\nThis works as expected on iOS. \r\n\r\nQ/A Regarding this issue here.\r\nhttps://developer.appcelerator.com/question/176937/android-maps-v2-getregion-function-undefined\r\n\r\n", "attachment": [], "flagged": false, "summary": "Maps v2 module - getRegion() fails on Android - working on iOS", "creator": { "name": "brianmcbride", "key": "brianmcbride", "displayName": "Brian McBride", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "brianmcbride", "key": "brianmcbride", "displayName": "Brian McBride", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "3.3.0 alloy 1.4 & 3.4.0-rc3 & alloy 1.5\r\nAndroid 4.4.2", "comment": { "comments": [ { "id": "327964", "author": { "name": "brianmcbride", "key": "brianmcbride", "displayName": "Brian McBride", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any chance for some movement on this issue?", "updateAuthor": { "name": "brianmcbride", "key": "brianmcbride", "displayName": "Brian McBride", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-13T23:56:48.000+0000", "updated": "2014-10-13T23:56:48.000+0000" }, { "id": "330819", "author": { "name": "mobile.madwebs", "key": "mobile.madwebs", "displayName": "Mobile Madwebs", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi all, i needed this feature, so i fixed it.\r\n\r\nTomorrow i'll post my github link with the working version of this module.\r\n\r\nI have also restructured the module for easy handling it with the current titanium studio version.\r\n\r\n", "updateAuthor": { "name": "mobile.madwebs", "key": "mobile.madwebs", "displayName": "Mobile Madwebs", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-05T15:09:57.000+0000", "updated": "2014-11-05T15:09:57.000+0000" }, { "id": "330831", "author": { "name": "brianmcbride", "key": "brianmcbride", "displayName": "Brian McBride", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Man, thanks! I think there was some work on the Maps module because it is broken on Android 5.0. \r\n\r\nBut again, thanks for looking into this. I hope the guys over at Appcelerator roll this into their next release along with the 5.0 support. The workarounds are ok, but getRegion should just work.", "updateAuthor": { "name": "brianmcbride", "key": "brianmcbride", "displayName": "Brian McBride", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-05T16:56:53.000+0000", "updated": "2014-11-05T16:56:53.000+0000" }, { "id": "330834", "author": { "name": "mobile.madwebs", "key": "mobile.madwebs", "displayName": "Mobile Madwebs", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Oh, but mine is not a workaround.\r\n\r\nSimply the getter was missing, so i forked the original module, corrected it and repacked! \r\n\r\n:) I'll send a pull request to the guys at appcelerator asap!", "updateAuthor": { "name": "mobile.madwebs", "key": "mobile.madwebs", "displayName": "Mobile Madwebs", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-05T17:15:17.000+0000", "updated": "2014-11-05T17:15:17.000+0000" }, { "id": "332751", "author": { "name": "brianmcbride", "key": "brianmcbride", "displayName": "Brian McBride", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Appcelerator folks... any chance on pulling Madweb's fix and getting out in the general release?", "updateAuthor": { "name": "brianmcbride", "key": "brianmcbride", "displayName": "Brian McBride", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-18T18:50:02.000+0000", "updated": "2014-11-18T18:50:02.000+0000" }, { "id": "347034", "author": { "name": "astjohn", "key": "astjohn", "displayName": "Adam", "active": true, "timeZone": "America/Havana" }, "body": "I'm not 100% convinced that the getter was missing. For us, the .getRegion() was always present, but what failed to happen was an update after a map pan or change event. We've fixed this on our pull request to add drawing features:\r\n\r\nhttps://github.com/appcelerator-modules/ti.map/pull/86\r\n\r\nOur fork/branch works well on Android 5.1.", "updateAuthor": { "name": "astjohn", "key": "astjohn", "displayName": "Adam", "active": true, "timeZone": "America/Havana" }, "created": "2015-03-23T19:25:08.000+0000", "updated": "2015-03-23T19:25:08.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }