{"action":"opened","issue":{"url":"https://api.github.com/repos/MarcusWolschon/osmeditor4android/issues/787","repository_url":"https://api.github.com/repos/MarcusWolschon/osmeditor4android","labels_url":"https://api.github.com/repos/MarcusWolschon/osmeditor4android/issues/787/labels{/name}","comments_url":"https://api.github.com/repos/MarcusWolschon/osmeditor4android/issues/787/comments","events_url":"https://api.github.com/repos/MarcusWolschon/osmeditor4android/issues/787/events","html_url":"https://github.com/MarcusWolschon/osmeditor4android/issues/787","id":363613200,"node_id":"MDU6SXNzdWUzNjM2MTMyMDA=","number":787,"title":"Share position moves the map to a different position than the position shared.","user":{"login":"lokejul","id":15968544,"node_id":"MDQ6VXNlcjE1OTY4NTQ0","avatar_url":"https://avatars1.githubusercontent.com/u/15968544?v=4","gravatar_id":"","url":"https://api.github.com/users/lokejul","html_url":"https://github.com/lokejul","followers_url":"https://api.github.com/users/lokejul/followers","following_url":"https://api.github.com/users/lokejul/following{/other_user}","gists_url":"https://api.github.com/users/lokejul/gists{/gist_id}","starred_url":"https://api.github.com/users/lokejul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lokejul/subscriptions","organizations_url":"https://api.github.com/users/lokejul/orgs","repos_url":"https://api.github.com/users/lokejul/repos","events_url":"https://api.github.com/users/lokejul/events{/privacy}","received_events_url":"https://api.github.com/users/lokejul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-25T14:39:40Z","updated_at":"2018-09-25T14:39:40Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nWhen reporting issues, please use this template, if you are asking for an enhancement you can delete the text.\r\n\r\nPlease note that some components are maintained in upstream repositories and relevant issues should be reported there, these are specifically:\r\n\r\n* background and overlay layers: https://github.com/osmlab/editor-layer-index\r\n* presets: https://github.com/simonpoole/beautified-JOSM-preset\r\n* opening hours user interface: https://github.com/simonpoole/OpeningHoursFragment\r\n* name-related tag suggestions database: https://github.com/osmlab/name-suggestion-index\r\n-->\r\n\r\n## Vespucci Version\r\n<!-- required, see debug information screen (select debug in main menu) -->\r\n11.1.0\r\n\r\n## Download source\r\n<!-- from where did you obtain the app? google play store, amazon, f-droid, github, ... -->\r\nGoogle Play Store\r\n\r\n## Device (Manufacturer and Model)\r\n<!-- required -->\r\nASUS ZC600KL Version C\r\n\r\n## Android Version \r\n<!-- required, please indicate if you are using a custom version -->\r\nStock Android 7.1.1\r\n\r\n## Behaviour/Symptoms\r\n<!-- required -->\r\nWhen using \"Share Position\", Vespucci does not display the correct position for the map.\r\nThe map is shown with an offset, varying at times up to several hundred metres, to the correct position. The offset seems to depend on the latitude and longitude of the original position that is being shared. \r\n\r\nThis behaviour occurs whether the originator of the \"Share position\" action is Vespucci app or some other app, such as OSMand.\r\n\r\n## Expected Behaviour\r\n<!-- required -->\r\nOpen OSMand.\r\nMove the slippy map to any desired location.\r\nUse OSMand to \"Share\" \"geo:\", then select \"Open with Vespucci\".\r\nThe map shown in Vespucci should be centered around the same location as OSMand.\r\n\r\nOpen Vespucci. \r\nMove the slippy map to any desired location.\r\nUse Vespucci to \"Share position\", then select \"Open with Vespucci\".\r\nThe map displayed by Vespucci AFTER the \"Share position\" action should be the SAME as displayed by Vespucci BEFORE the \"Share position\" action.\r\n \r\n## How to recreate\r\n<!-- required -->\r\nOpen Vespucci.\r\nMove the slippy map to any desired location (position 1)\r\nUse Vespucci to \"Share position\", then select \"Open with Vespucci\".\r\nThe map displayed AFTER the \"Share position\" action (position 2) is often different from BEFORE the \"Share position\" action.\r\n \r\nThere is an exception. If you do NOT move the slippy map from position 2, activating \"Share position\" for a second time results in the same map position (i.e. position 3 is the same as position 2, but both position 2 and 3 are different from position 1).\r\n\r\n## Crash dump submitted (no or yes + date)\r\n<!-- required -->\r\nno\r\n\r\n## Any other potentially relevant information\r\n<!-- optional -->\r\nQ. Could this issue be due to a rounding error caused by casting from one numeric type to another? e.g. in line 1429, there is a divide by 2 instead of 2.0 at:\r\n https://github.com/MarcusWolschon/osmeditor4android/commit/6bb505549b1684c63c459673c8ea489e34585408"}}
{"actor":{"display_login":"lokejul"}}