{"action":"closed","issue":{"url":"https://api.github.com/repos/ngageoint/geopackage-android-map/issues/12","repository_url":"https://api.github.com/repos/ngageoint/geopackage-android-map","labels_url":"https://api.github.com/repos/ngageoint/geopackage-android-map/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ngageoint/geopackage-android-map/issues/12/comments","events_url":"https://api.github.com/repos/ngageoint/geopackage-android-map/issues/12/events","html_url":"https://github.com/ngageoint/geopackage-android-map/issues/12","id":365389239,"node_id":"MDU6SXNzdWUzNjUzODkyMzk=","number":12,"title":"Delete/update mapshape individually","user":{"login":"kttary","id":39557649,"node_id":"MDQ6VXNlcjM5NTU3NjQ5","avatar_url":"https://avatars2.githubusercontent.com/u/39557649?v=4","gravatar_id":"","url":"https://api.github.com/users/kttary","html_url":"https://github.com/kttary","followers_url":"https://api.github.com/users/kttary/followers","following_url":"https://api.github.com/users/kttary/following{/other_user}","gists_url":"https://api.github.com/users/kttary/gists{/gist_id}","starred_url":"https://api.github.com/users/kttary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kttary/subscriptions","organizations_url":"https://api.github.com/users/kttary/orgs","repos_url":"https://api.github.com/users/kttary/repos","events_url":"https://api.github.com/users/kttary/events{/privacy}","received_events_url":"https://api.github.com/users/kttary/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-01T10:00:24Z","updated_at":"2018-10-19T10:47:28Z","closed_at":"2018-10-19T10:47:28Z","author_association":"NONE","body":"I added feature table to the map with following code:\r\n\r\n```\r\ntry{\r\n    while(featureCursor.moveToNext()){\r\n        FeatureRow featureRow = featureCursor.getRow();\r\n        GeoPackageGeometryData geometryData = featureRow.getGeometry();\r\n        Geometry geometry = geometryData.getGeometry();\r\n        GoogleMapShape shape = converter.toShape(geometry);\r\n        GoogleMapShape mapShape = GoogleMapShapeConverter\r\n                .addShapeToMap(map, shape);\r\n        // ...\r\n    }\r\n}finally{\r\n    featureCursor.close();\r\n}\r\n```\r\n\r\nMy intention is to edit the mapshape (polygon) / delete a particular feature by its record id. When i delete a record from geopackage i want to delete its corresponding mapshape from the map. When i update its geometry, i want to refresh the old mapshape with new geom. Thank you in advance\r\n"}}
{"actor":{"display_login":"kttary"}}