{"action":"opened","issue":{"url":"https://api.github.com/repos/osmdroid/osmdroid/issues/467","repository_url":"https://api.github.com/repos/osmdroid/osmdroid","labels_url":"https://api.github.com/repos/osmdroid/osmdroid/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/osmdroid/osmdroid/issues/467/comments","events_url":"https://api.github.com/repos/osmdroid/osmdroid/issues/467/events","html_url":"https://github.com/osmdroid/osmdroid/issues/467","id":187579320,"number":467,"title":"\"mLocationOverlay\" Symbol cannot be resolved.","user":{"login":"TheGlave","id":21140676,"avatar_url":"https://avatars.githubusercontent.com/u/21140676?v=3","gravatar_id":"","url":"https://api.github.com/users/TheGlave","html_url":"https://github.com/TheGlave","followers_url":"https://api.github.com/users/TheGlave/followers","following_url":"https://api.github.com/users/TheGlave/following{/other_user}","gists_url":"https://api.github.com/users/TheGlave/gists{/gist_id}","starred_url":"https://api.github.com/users/TheGlave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheGlave/subscriptions","organizations_url":"https://api.github.com/users/TheGlave/orgs","repos_url":"https://api.github.com/users/TheGlave/repos","events_url":"https://api.github.com/users/TheGlave/events{/privacy}","received_events_url":"https://api.github.com/users/TheGlave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-06T18:32:24Z","updated_at":"2016-11-06T18:32:24Z","closed_at":null,"body":"Hello,\r\n\r\ni want to use your \"MyLocationOverlay\" but I think I misunderstood something in the tutorial. My project cannot resolve the symbol \"mLocationOverlay\". Do you know what the problem might be?\r\n\r\nEverthing in this code works fine, except the last part under \"My Location\":\r\n\r\n>     @Override\r\n>     public void onCreate(Bundle savedInstanceState) {\r\n>         super.onCreate(savedInstanceState);\r\n>         setContentView(R.layout.activity_main);\r\n>         org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConstants.setUserAgentValue(BuildConfig.APPLICATION_ID);\r\n>         if (Build.VERSION.SDK_INT >= 23) {\r\n>             checkPermissions();\r\n>         }\r\n>         MapView map = (MapView) findViewById(R.id.map);\r\n>         map.setTileSource(TileSourceFactory.MAPNIK);\r\n> \r\n>         //Zoom-Buttons:\r\n>         map.setTilesScaledToDpi(true);\r\n>         map.setMaxZoomLevel(25);\r\n>         map.setBuiltInZoomControls(true);\r\n>         map.setMultiTouchControls(true);\r\n> \r\n>         //Default-Coordinates\r\n>         IMapController mapController = map.getController();\r\n>         mapController.setZoom(12);\r\n>         GeoPoint startPoint = new GeoPoint(51.4344079, 6.780487094074488);\r\n>         mapController.setCenter(startPoint);\r\n> \r\n>         //My Location\r\n>         this.mLocationOverlay = new MyLocationNewOverlay(new GpsMyLocationProvider(context),map);\r\n>         this.mLocationOverlay.enableMyLocation();\r\n>         map.getOverlays().add(this.mLocationOverlay);\r\n>     }"}}
{"actor":{"display_login":"TheGlave"}}