public static EditPoiDialogFragment createAddPoiInstance( double latitude, double longitude, OsmandApplication application) { Node node = new Node(latitude, longitude, -1); Amenity amenity; amenity = new Amenity(); amenity.setType(application.getPoiTypes().getOtherPoiCategory()); amenity.setSubType(""); amenity.setAdditionalInfo(OSMSettings.OSMTagKey.OPENING_HOURS.getValue(), ""); return createInstance(node, amenity); }