{ "id": "160143", "key": "AC-3611", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-05-25T14:13:21.000+0000", "created": "2016-05-10T09:07:02.000+0000", "labels": [ "annotation", "ios", "map", "position" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-11T14:39:44.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "Hi guys,\r\nin my app I open shop detail window when user clicks on shop list table. In that window I have mapView with annotation to show user shop's location. Problem is, when I close detail window and open it with other shop(which has different location), annotation doesn't show up properly - it remains on original location. When I close the window again and click on the same shop, annotation position is ok. I tried to log annotation properties and it logs right longitude/latitude.\r\nI have no problem with Android version of my app. I tried to replace custom image with default red pin but it didn't help.\r\nThank you.\r\n", "attachment": [], "flagged": false, "summary": "[iOS] Map annotation doesn't show correctly", "creator": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "subtasks": [], "reporter": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "environment": null, "comment": { "comments": [ { "id": "385385", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~max87],\r\n\r\nThanks for reporting. It will be appreciated if you provide simple test code and steps to reproduce. We will be able to identify if it is a valid bug or implementation problem when we are able to reproduce the issue.\r\n\r\nThanks in advance\r\n", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-11T09:59:29.000+0000", "updated": "2016-05-11T09:59:29.000+0000" }, { "id": "385388", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hello Nazmus,\r\nyou can download app from App Store - https://itunes.apple.com/sk/app/allbip/id1105923467?mt=8 (in Slovak language)\r\nThere are Categories on the first screen(click on Kozmetika f.e), then click on Lymfocentrum, it opens detail page. Scroll down to map view and there should be annotation. Click on Spat(Back) to list of shops and then on \"The Diamond hair&beauty studio. Then scroll down on detail page again and there is no annotation on place - it is on Lymfocentrum's address.\r\n\r\nThe code is simple - I prepare detail screen on startup with map and then when user click on Shop I set correct variables to correct places - I remove annotation from map, create new annotation with new possition and add it to map. I tried to log annotation longitude&latitude before adding to map and after adding and they are the same, but possition is not changed.\r\nThank you\r\n ", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2016-05-11T10:12:27.000+0000", "updated": "2016-05-11T10:12:27.000+0000" }, { "id": "385534", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~max87], \r\n\r\nWe need a reproducible code to test. We will try to use the code in our platform to regenerate the issue. Please strip out the code and keep only the code that regenerates the issue and attached the code or the project in this ticket. We will be able to identify if it is a valid bug. In that case, we will escalate the ticket for a fix, If it's an implementation problem then we can provide support. All that possible when we are able to reproduce the issue in our environment.\r\n\r\nThanks in advance.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-12T15:09:18.000+0000", "updated": "2016-05-12T15:09:56.000+0000" }, { "id": "385726", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This looks like a scoping-issue. Please ensure that your windows are opened in the correct scope and the module instance is shared globally, like {{Alloy.Globals.Map = require(\"ti.map\");}}. Also ensure to clean views when closing a window. This is no SDK issue.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-14T19:29:09.000+0000", "updated": "2016-05-14T19:29:09.000+0000" }, { "id": "386680", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~max87], Whats the update on your issue, Are you still having it? Let us know. Otherwise, we will close the ticket. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-24T21:03:32.000+0000", "updated": "2016-05-24T21:04:11.000+0000" }, { "id": "390297", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hello Sharif,\r\nI tried to recompile this app with newest SDK and problem is still there.\r\nI moved require('ti.map') to app.js, but still same behavior.\r\nThank you\r\n", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2016-07-11T14:39:44.000+0000", "updated": "2016-07-11T14:39:44.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }