{"action":"created","issue":{"url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/847","repository_url":"https://api.github.com/repos/DotSpatial/DotSpatial","labels_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/847/labels{/name}","comments_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/847/comments","events_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/847/events","html_url":"https://github.com/DotSpatial/DotSpatial/issues/847","id":176176998,"number":847,"title":"How Can i get list of DataTable in DataSet ?","user":{"login":"DavisMillier","id":21189640,"avatar_url":"https://avatars.githubusercontent.com/u/21189640?v=3","gravatar_id":"","url":"https://api.github.com/users/DavisMillier","html_url":"https://github.com/DavisMillier","followers_url":"https://api.github.com/users/DavisMillier/followers","following_url":"https://api.github.com/users/DavisMillier/following{/other_user}","gists_url":"https://api.github.com/users/DavisMillier/gists{/gist_id}","starred_url":"https://api.github.com/users/DavisMillier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavisMillier/subscriptions","organizations_url":"https://api.github.com/users/DavisMillier/orgs","repos_url":"https://api.github.com/users/DavisMillier/repos","events_url":"https://api.github.com/users/DavisMillier/events{/privacy}","received_events_url":"https://api.github.com/users/DavisMillier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-10T12:21:37Z","updated_at":"2016-09-13T16:28:02Z","closed_at":null,"body":"Hello Sir/Madam\r\nMay you help me how can i get list of datatable in layer Dataset ?\r\nAnd How can i select layer with Dataset name ?\r\ni try to add feature directly in Datatable ,  is this right way ?\r\nHow can i get Control of one exist layer with Dataset name ?\r\n\r\nWhere are lat and long of feature stored?\r\n\r\nThank You"},"comment":{"url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/comments/246740561","html_url":"https://github.com/DotSpatial/DotSpatial/issues/847#issuecomment-246740561","issue_url":"https://api.github.com/repos/DotSpatial/DotSpatial/issues/847","id":246740561,"user":{"login":"sindizzy","id":5298460,"avatar_url":"https://avatars.githubusercontent.com/u/5298460?v=3","gravatar_id":"","url":"https://api.github.com/users/sindizzy","html_url":"https://github.com/sindizzy","followers_url":"https://api.github.com/users/sindizzy/followers","following_url":"https://api.github.com/users/sindizzy/following{/other_user}","gists_url":"https://api.github.com/users/sindizzy/gists{/gist_id}","starred_url":"https://api.github.com/users/sindizzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindizzy/subscriptions","organizations_url":"https://api.github.com/users/sindizzy/orgs","repos_url":"https://api.github.com/users/sindizzy/repos","events_url":"https://api.github.com/users/sindizzy/events{/privacy}","received_events_url":"https://api.github.com/users/sindizzy/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T16:28:02Z","updated_at":"2016-09-13T16:28:02Z","body":"Do this:\r\n```\r\n            'Dim lyr As MapPolygonLayer = CType(myGroup.Layers(0), MapPolygonLayer) 'if using a group\r\n            Dim lyr As MapPolygonLayer = CType(map.Layers(0), MapPolygonLayer) 'if no groups\r\n            Dim fs As IFeatureSet = lyr.FeatureSet\r\n            Debug.Print(\"Records=\" & fs.DataTable.Rows.Count)\r\n```\r\n\r\nMake sure you are using the right type of MapXYZLayer object and also make sure that you are referencing a feature layer and not a category."}}
{"actor":{"display_login":"sindizzy"}}