{ "id": "110859", "key": "TIMOB-13006", "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": "15274", "description": "2013 Sprint 06 API", "name": "2013 Sprint 06 API", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "15412", "name": "Co-3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-03-15T00:30:31.000+0000", "created": "2013-03-08T17:03:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "26726", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "109989", "key": "TIMOB-12810", "fields": { "summary": "Android: Maps V2 Module - Missing properties and methods from Ti.Map module", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T23:03:39.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.Issue\r\nThe image for a button on the annotation is not showing up.\r\n\r\nYou get the screenshot attached called: AnnotationPopupWithNoButton.png.\r\nIt should look like AnnotationWithAButton.png \r\n\r\nh6.Additional details\r\nSomething to note is that once that annotation has been selected the app does not force close when you select it later on but selecting any other annotation causes the app to close.\r\n\r\nh6.Steps to reproduce\r\nJust replace few lines of code below \"Resources/ui/common/FirstView.js\" using sample project attached in Timob-13004 and install to device to get it to work.\r\n{code}\r\n//FirstView Component Constructor\r\nfunction FirstView() {\r\n\r\nvar self = Ti.UI.createView();\r\n\r\nvar MapModule = require('ti.map');\r\n \r\nvar map1 = MapModule.createView({\r\n userLocation: true,\r\n mapType: MapModule.NORMAL_TYPE,\r\n animate: true,\r\n region: {latitude: -33.87365, longitude: 151.20689, latitudeDelta: 0.1, longitudeDelta: 0.1 }, //Sydney\r\n height: '80%',\r\n top: 0,\r\n left: 0,\r\n width: '100%'\r\n});\r\n\r\nvar anno1 = MapModule.createAnnotation({\r\n latitude: -33.86665,\r\n longitude: 151.20689,\r\n title: \"Anno2\",\r\n subtitle: \"Ann2 subtitle\",\r\n animate: true,\r\n id: 33\r\n });\r\n anno1.image = '/mbanking/images/Locations-Pin-Android-red-hdpi.png';\r\n anno1.rightButton = '/images/locations-android-popover-arrow.png';\r\n anno1.rightButton.height = 44;\r\n anno1.rightButton.width = 46;\r\n\r\nvar anno2 = MapModule.createAnnotation({\r\n latitude: -33.87365,\r\n longitude: 151.20689,\r\n title: \"Anno2\",\r\n subtitle: \"Ann2 subtitle\",\r\n animate: true,\r\n id: 43\r\n });\r\n anno2.image = '/mbanking/images/Locations-Pin-Android-red-hdpi.png';\r\n anno2.rightButton = '/images/locations-android-popover-arrow.png';\r\n anno2.rightButton.height = 44;\r\n anno2.rightButton.width = 46;\r\n\r\nvar anno3 = MapModule.createAnnotation({\r\n latitude: -33.87964,\r\n longitude: 151.21130,\r\n title: \"Anno3\",\r\n subtitle: \"Ann3 subtitle\",\r\n animate: true,\r\n id: 45\r\n });\r\n anno3.image = '/mbanking/images/Locations-Pin-Android-red-hdpi.png';\r\n anno3.rightButton = '/images/locations-android-popover-arrow.png';\r\n anno3.rightButton.height = 44;\r\n anno3.rightButton.width = 46;\r\n\r\n\r\nvar anns = [];\r\nanns.push(anno1);\r\nanns.push(anno2);\r\nanns.push(anno3);\r\nmap1.addAnnotations(anns);\r\n\r\nsetTimeout(function () {\r\nmap1.selectAnnotation(anno1, true);\r\nmap1.setHeight('100%');\r\n}, 8000);\r\n\r\nself.add(map1);\r\n\r\n return self;\r\n\r\n}\r\n\r\nmodule.exports = FirstView;\r\n{code}\r\n\r\nh6.Further details\r\nPublic link 2.1.3.MapsModule patched 2.1.3.GA SDK for use:\r\nhttp://dl.dropbox.com/u/34061091/mobilesdk-2.1.3.MapsModule-osx.zip", "attachment": [ { "id": "36048", "filename": "AnnotationPopupWithNoButton.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-08T17:03:21.000+0000", "size": 369386, "mimeType": "image/png" }, { "id": "36047", "filename": "AnnotationWithAButton.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-08T17:03:21.000+0000", "size": 189724, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Maps V2 Module - image for a button on the annotation not showing up", "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": "TiSDK 2.1.3.MapsModule patched 2.1.3.GA SDK \r\nDroid Razr 2.3\r\nHTC Incredible running 2.3.4\r\nGalaxy Note 4.0.4\r\nti.map 2.0.0", "comment": { "comments": [ { "id": "242359", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The current Map module does not support leftButton and rightButton. This has been reported in TIMOB-12810. Mark this ticket as duplicate.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-15T00:30:05.000+0000", "updated": "2013-03-15T00:56:24.000+0000" }, { "id": "414658", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T23:03:39.000+0000", "updated": "2017-03-21T23:03:39.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }