Update poi types

This commit is contained in:
Victor Shcherb 2015-11-12 01:58:32 +01:00
parent deda875e7a
commit ace2b4f216
4 changed files with 3 additions and 5 deletions

View file

@ -369,6 +369,7 @@ public class MapPoiTypes {
tp.setTopVisible(Boolean.parseBoolean(parser.getAttributeValue("", "top")));
tp.setText("text".equals(parser.getAttributeValue("", "type")));
tp.setOsmTag(otag);
tp.setNotEditableOsm("true".equals(parser.getAttributeValue("", "no_edit")));
tp.setOsmValue(parser.getAttributeValue("", "value"));
tp.setOsmTag2(parser.getAttributeValue("", "tag2"));
tp.setOsmValue2(parser.getAttributeValue("", "value2"));

View file

@ -600,7 +600,6 @@ public class EditPoiDialogFragment extends DialogFragment {
AccessibleToast.makeText(activity, activity.getResources().getString(R.string.poi_error_poi_not_found), Toast.LENGTH_LONG).show();
return;
}
// FIXME give back alert dialog and use openstreetmapUtil field!
AlertDialog.Builder builder = new AlertDialog.Builder(activity);
builder.setTitle(R.string.poi_remove_title);
final EditText comment;

View file

@ -54,10 +54,6 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map;
/**
* Created by Denis
* on 06.03.2015.
*/
public class OsmEditsFragment extends OsmAndListFragment
implements SendPoiDialogFragment.ProgressDialogPoiUploader {
OsmEditingPlugin plugin;

View file

@ -7,6 +7,8 @@ import java.util.Map;
* on 11.03.2015.
*/
public interface OsmEditsUploadListener {
void uploadUpdated(OsmPoint point);
void uploadEnded(Map<OsmPoint, String> loadErrorsMap);
}