{ "id": "110855", "key": "TIMOB-13003", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15486", "description": "2013 Sprint 10 API", "name": "2013 Sprint 10 API", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-09T22:52:22.000+0000", "created": "2013-03-08T16:18:50.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "module_androidmapv2", "qe-testadded" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-19T08:57:50.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.Feature request\r\nClient would like to remove the \"my-location\" icon (PNG image attached), app already has it, and the old maps did not so client would really like to remove this.\r\n\r\nh6.Android APIs\r\nExpose below method may allow developers to accomplish the request:\r\nhttp://developer.android.com/reference/com/google/android/gms/maps/UiSettings.html#isMyLocationButtonEnabled()", "attachment": [], "flagged": false, "summary": "Android: Maps V2 module - Enable/disable the my-location button of GoogleMaps", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "242820", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Eduardo, if you set \"userLocation: false\" when creating the map, the my location button won't show up.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T00:34:43.000+0000", "updated": "2013-03-19T00:34:43.000+0000" }, { "id": "242927", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Edit: mFoundry had set the userLocation property on the map to false in order to remove the my-location button from the map. But this also removes the users current location.\r\n\r\nBased on below link looks like exposing the method would work.\r\n\r\nTopic: http://stackoverflow.com/questions/14376361/disable-center-button-in-mylocation-at-google-map-api-v2\r\nMethod: https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/UiSettings#isMyLocationButtonEnabled()\r\n\r\nThey need to be able to perform the following:\r\n \r\n(1) Remove the users get my location icon. \r\n(2) Show the users current location on the map. \r\n(3) Do NOT center the map on the current location, just show it.\r\n", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T16:52:24.000+0000", "updated": "2013-05-01T19:43:10.000+0000" }, { "id": "251106", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_modules/pull/109\nTest case:\n{code}\nvar MapModule = require('ti.map');\n \nvar win = Ti.UI.createWindow({fullscreen: false});\n\nvar map = MapModule.createView({\n userLocation: true,\n userLocationButton: true,\n mapType: MapModule.NORMAL_TYPE,\n animate: true,\n top: '30%'\n});\n\nvar b1 = Ti.UI.createButton({\n title: \"Toggle userLocation\",\n top: 0\n});\nb1.addEventListener('click', function(){\n map.userLocation = !map.userLocation;\n Ti.API.info(\"***************************** map.userLocation = \" + map.userLocation);\n});\n\nvar b2 = Ti.UI.createButton({\n title: \"Toggle userLocationButton\",\n top: 100\n});\nb2.addEventListener('click', function(){\n map.userLocationButton = !map.userLocationButton;\n Ti.API.info(\"***************************** map.userLocationButton = \" + map.userLocationButton);\n});\n \nwin.add(b1);\nwin.add(b2);\nwin.add(map);\nwin.open();\n{code}\nFor FR, run the above test case. Should see a blue dot showing the user's current location and the my-location button in the top right corner of the map. Click the two buttons to toggle \"userLocation\" and \"userLocationButton\". *Note:* the my-location button only shows when userLocation==true && userLocationButton==true.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T19:19:44.000+0000", "updated": "2013-05-09T19:19:44.000+0000" }, { "id": "251615", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This fix is in the Map module now and we will bundle this module with the SDK starting from 3.1.1 (TIMOB-13791). So this fix will be in 3.1.1.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-13T20:31:11.000+0000", "updated": "2013-05-13T20:31:11.000+0000" }, { "id": "255055", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified this feature is functioning as expected. Using:\nMac OS 10.8.3\nSafari: 6.0.4\nXcode 4.6.2\nCLI: 3.1.1-alpha\ntitanium-code-processor: 1.0.1-alpha\nAlloy: 1.1.3-alpha\nAppcelerator Studio, build: 3.1.1.201305292130\nTitanium SDK version 3.1.1.v20130529114554\nNexus 4 4.2.1", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T00:33:52.000+0000", "updated": "2013-05-31T00:33:52.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }