{"action":"opened","issue":{"url":"https://api.github.com/repos/gluonhq/maps/issues/25","repository_url":"https://api.github.com/repos/gluonhq/maps","labels_url":"https://api.github.com/repos/gluonhq/maps/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/gluonhq/maps/issues/25/comments","events_url":"https://api.github.com/repos/gluonhq/maps/issues/25/events","html_url":"https://github.com/gluonhq/maps/issues/25","id":381974777,"node_id":"MDU6SXNzdWUzODE5NzQ3Nzc=","number":25,"title":"Desktop issues","user":{"login":"Gustafsonde","id":19880831,"node_id":"MDQ6VXNlcjE5ODgwODMx","avatar_url":"https://avatars3.githubusercontent.com/u/19880831?v=4","gravatar_id":"","url":"https://api.github.com/users/Gustafsonde","html_url":"https://github.com/Gustafsonde","followers_url":"https://api.github.com/users/Gustafsonde/followers","following_url":"https://api.github.com/users/Gustafsonde/following{/other_user}","gists_url":"https://api.github.com/users/Gustafsonde/gists{/gist_id}","starred_url":"https://api.github.com/users/Gustafsonde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gustafsonde/subscriptions","organizations_url":"https://api.github.com/users/Gustafsonde/orgs","repos_url":"https://api.github.com/users/Gustafsonde/repos","events_url":"https://api.github.com/users/Gustafsonde/events{/privacy}","received_events_url":"https://api.github.com/users/Gustafsonde/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-18T16:15:20Z","updated_at":"2018-11-18T16:15:20Z","closed_at":null,"author_association":"NONE","body":"The sample code works in a Desktop application.  But if I change it slightly to\r\n```javascript\r\n        if (Platform.isDesktop()) {\r\n//            scene = new Scene(view, 600, 700);\r\n            AnchorPane ap = new AnchorPane(view);\r\n            scene = new Scene(ap, 600, 700);\r\n            stage.setTitle(\"Gluon Maps Demo\");\r\n        } else {\r\n```\r\nthen it does not work--the mouse can't be used to drag in the y axis and zooming out by scrolling does not work (zoom-in **does** work).  `flyTo()` does not work as expected and the map is initially displayed at x,y coordinates 0,0.  \r\n\r\nI suppressed the problems by making the `BaseMap.moveY()` method work symmetrically to the `BaseMap.moveX()`, and by changing the `BaseMap.getMyWidth()` and `BaseMap.getMyHeight()` to use \r\n`getBoundsInParent()` but I doubt if either of these does anything other than mask the symptoms."}}
{"actor":{"display_login":"Gustafsonde"}}